comparison config.arg.h @ 493:d0104ede6454

changed order of colordefs in config.h's, changed config.arg.h to fit to new dmenu
author arg@mmvi
date Tue, 26 Sep 2006 13:24:14 +0200
parents 898c54484cb2
children 36f9bb3da949
comparison
equal deleted inserted replaced
492:5df494262dfd 493:d0104ede6454
9 #define DEFMODE dotile /* dofloat */ 9 #define DEFMODE dotile /* dofloat */
10 #define FLOATSYMBOL "><>" 10 #define FLOATSYMBOL "><>"
11 #define TILESYMBOL "[]=" 11 #define TILESYMBOL "[]="
12 12
13 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" 13 #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
14 #define NORMBGCOLOR "#333333"
15 #define NORMFGCOLOR "#dddddd"
14 #define SELBGCOLOR "#333366" 16 #define SELBGCOLOR "#333366"
15 #define SELFGCOLOR "#eeeeee" 17 #define SELFGCOLOR "#eeeeee"
16 #define NORMBGCOLOR "#333333"
17 #define NORMFGCOLOR "#dddddd"
18 #define STATUSBGCOLOR "#222222" 18 #define STATUSBGCOLOR "#222222"
19 #define STATUSFGCOLOR "#9999cc" 19 #define STATUSFGCOLOR "#9999cc"
20 20
21 #define MASTERW 60 /* percent */
21 #define MODKEY Mod1Mask 22 #define MODKEY Mod1Mask
22 #define MASTERW 60 /* percent */
23 23
24 #define KEYS \ 24 #define KEYS \
25 static Key key[] = { \ 25 static Key key[] = { \
26 /* modifier key function arguments */ \ 26 /* modifier key function arguments */ \
27 { MODKEY|ShiftMask, XK_Return, spawn, \ 27 { MODKEY|ShiftMask, XK_Return, spawn, \
28 { .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \ 28 { .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
29 { MODKEY, XK_p, spawn, \ 29 { MODKEY, XK_p, spawn, \
30 { .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \ 30 { .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
31 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \ 31 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
32 "done | sort -u | dmenu)\" && exec $exe" } }, \ 32 "done | sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"'" \
33 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
33 { MODKEY, XK_j, focusnext, { 0 } }, \ 34 { MODKEY, XK_j, focusnext, { 0 } }, \
34 { MODKEY, XK_k, focusprev, { 0 } }, \ 35 { MODKEY, XK_k, focusprev, { 0 } }, \
35 { MODKEY, XK_Return, zoom, { 0 } }, \ 36 { MODKEY, XK_Return, zoom, { 0 } }, \
36 { MODKEY, XK_g, resizecol, { .i = 20 } }, \ 37 { MODKEY, XK_g, resizecol, { .i = 20 } }, \
37 { MODKEY, XK_s, resizecol, { .i = -20 } }, \ 38 { MODKEY, XK_s, resizecol, { .i = -20 } }, \