svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

config.def.h (985B)


      1 static const Bool wmborder = True;
      2 static int fontsize = 22;
      3 static double overlay_delay = 1.0; //in seconds
      4 static double repeat_delay = 0.75; //in seconds, will not work on keys with overlays
      5 static int scan_rate = 50; //scan rate in microseconds, affects key repetition rate
      6 static int heightfactor = 14; //one row of keys takes up 1/x of the screen height
      7 static const char *defaultfonts[] = {
      8 	"DejaVu Sans:bold:size=22"
      9 };
     10 static const char *defaultcolors[SchemeLast][2] = {
     11 	/*     fg         bg       */
     12 	[SchemeNorm] = { "#bbbbbb", "#132a33" },
     13 	[SchemeNormShift] = { "#008ac0", "#132a33" },
     14 	[SchemeNormABC] = { "#ffffff", "#14313d" },
     15 	[SchemeNormABCShift] = { "#008ac0", "#14313d" },
     16 	[SchemePress] = { "#ffffff", "#259937" },
     17 	[SchemePressShift] = { "#00c001", "#259937" },
     18 	[SchemeHighlight] = { "#58a7c6", "#005577" },
     19 	[SchemeHighlightShift] = { "#008ac0", "#005577" },
     20 	[SchemeOverlay] = { "#ffffff", "#2b3313" },
     21 	[SchemeOverlayShift] = { "#008ac0", "#2b3313" },
     22 };
     23