X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.arg.h;h=fa9c0198e9c13b50a2e7905a215043ca2885595d;hb=87324e680c318a5e63286c90e4443bb4c2898e11;hp=1a63ac8fb920aa98daaa909530241e9d929304f7;hpb=6651dd7fd9e8e95cfc6c472f1adfeff41735d798;p=dwm.git diff --git a/config.arg.h b/config.arg.h index 1a63ac8..fa9c019 100644 --- a/config.arg.h +++ b/config.arg.h @@ -9,7 +9,7 @@ const char *tags[] = { "dev", "work", "net", "fnord", NULL }; #define FLOATSYMBOL "><>" #define TILESYMBOL "[]=" -#define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" +#define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*" #define NORMBGCOLOR "#333333" #define NORMFGCOLOR "#dddddd" #define SELBGCOLOR "#333366" @@ -17,7 +17,7 @@ const char *tags[] = { "dev", "work", "net", "fnord", NULL }; #define STATUSBGCOLOR "#222222" #define STATUSFGCOLOR "#9999cc" -#define MASTER 600 /* per thousand */ +#define MASTER 550 /* per thousand */ #define MODKEY Mod1Mask #define KEYS \ @@ -26,10 +26,9 @@ static Key key[] = { \ { MODKEY|ShiftMask, XK_Return, spawn, \ { .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \ { MODKEY, XK_p, spawn, \ - { .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \ - "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; done " \ - "| sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \ - "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \ + { .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \ + " | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \ + "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \ { MODKEY, XK_j, focusnext, { 0 } }, \ { MODKEY, XK_k, focusprev, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \