config.def.h - svkbd - simple virtual keyboard | |
git clone git://git.suckless.org/svkbd | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
config.def.h (1122B) | |
--- | |
1 static const Bool wmborder = True; | |
2 static int fontsize = 22; | |
3 /* overlay delay in seconds */ | |
4 static double overlay_delay = 1.0; | |
5 /* repeat delay in seconds, will not work on keys with overlays */ | |
6 static double repeat_delay = 0.75; | |
7 /* scan rate in microseconds, affects key repetition rate */ | |
8 static int scan_rate = 50; | |
9 /* one row of keys takes up 1/x of the screen height */ | |
10 static int heightfactor = 14; | |
11 static int xspacing = 1; | |
12 static int yspacing = 1; | |
13 static const char *defaultfonts[] = { | |
14 "DejaVu Sans:bold:size=22" | |
15 }; | |
16 static const char *defaultcolors[SchemeLast][2] = { | |
17 /* fg bg */ | |
18 [SchemeNorm] = { "#bbbbbb", "#132a33" }, | |
19 [SchemeNormShift] = { "#008ac0", "#132a33" }, | |
20 [SchemeNormABC] = { "#ffffff", "#14313d" }, | |
21 [SchemeNormABCShift] = { "#008ac0", "#14313d" }, | |
22 [SchemePress] = { "#ffffff", "#259937" }, | |
23 [SchemePressShift] = { "#00c001", "#259937" }, | |
24 [SchemeHighlight] = { "#58a7c6", "#005577" }, | |
25 [SchemeHighlightShift] = { "#008ac0", "#005577" }, | |
26 [SchemeOverlay] = { "#ffffff", "#2b3313" }, | |
27 [SchemeOverlayShift] = { "#008ac0", "#2b3313" }, | |
28 [SchemeWindow] = { "#bbbbbb", "#132a33" }, | |
29 }; | |
30 |