svkbd

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

config.def.h (1079B)


      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 int xspacing = 5;
      8 static int yspacing = 5;
      9 static const char *defaultfonts[] = {
     10 	"DejaVu Sans:bold:size=22"
     11 };
     12 static const char *defaultcolors[SchemeLast][2] = {
     13 	/*     fg         bg       */
     14 	[SchemeNorm] = { "#bbbbbb", "#132a33" },
     15 	[SchemeNormShift] = { "#008ac0", "#132a33" },
     16 	[SchemeNormABC] = { "#ffffff", "#14313d" },
     17 	[SchemeNormABCShift] = { "#008ac0", "#14313d" },
     18 	[SchemePress] = { "#ffffff", "#259937" },
     19 	[SchemePressShift] = { "#00c001", "#259937" },
     20 	[SchemeHighlight] = { "#58a7c6", "#005577" },
     21 	[SchemeHighlightShift] = { "#008ac0", "#005577" },
     22 	[SchemeOverlay] = { "#ffffff", "#2b3313" },
     23 	[SchemeOverlayShift] = { "#008ac0", "#2b3313" },
     24 	[SchemeWindow] = { "#bbbbbb", "#132a33" },
     25 };
     26