X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.arg.h;h=93000bbd6d1314fe23c8068878ce10894d630070;hb=784659565a7a4169fef9ad469ef841630758df26;hp=423e93534ca32020ebd4ea6b57487b8871356d81;hpb=879241c05cbf959304a2dc4f2fabcdcecaea5092;p=dwm.git diff --git a/config.arg.h b/config.arg.h index 423e935..93000bb 100644 --- a/config.arg.h +++ b/config.arg.h @@ -2,36 +2,47 @@ * See LICENSE file for license details. */ +/* appearance */ #define BORDERPX 1 #define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*" #define NORMBORDERCOLOR "#333" #define NORMBGCOLOR "#222" #define NORMFGCOLOR "#ccc" #define SELBORDERCOLOR "#69c" -#define SELBGCOLOR "#555" +#define SELBGCOLOR "#357" #define SELFGCOLOR "#fff" - -#define MASTER 600 /* per thousand */ -#define MODKEY Mod1Mask -#define NMASTER 1 /* clients in master area */ -#define SNAP 40 /* pixel */ #define TOPBAR True /* False */ +/* behavior */ +#define SNAP 40 /* pixel */ #define TAGS \ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; +#define RULES \ +static Rule rule[] = { \ + /* class:instance:title regex tags regex isversatile */ \ + { "Firefox", "3", False }, \ + { "Gimp", NULL, True }, \ + { "MPlayer", NULL, True }, \ + { "Acroread", NULL, True }, \ +}; +/* layout(s) */ #define LAYOUTS \ static Layout layout[] = { \ /* symbol function */ \ { "[]=", tile }, /* first entry is default */ \ { "><>", versatile }, \ }; +#define MASTER 600 /* per thousand */ +#define NMASTER 1 /* clients in master area */ +/* key definitions */ +#define MODKEY Mod1Mask #define KEYS \ static Key key[] = { \ /* modifier key function argument */ \ { MODKEY|ShiftMask, XK_Return, spawn, \ - { .cmd = "exec uxterm -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" } }, \ + { .cmd = "exec urxvtcd -tr -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" } }, \ { MODKEY, XK_p, spawn, \ { .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \ " | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \ @@ -86,12 +97,3 @@ static Key key[] = { \ { MODKEY|ControlMask, XK_9, toggleview, { .i = 8 } }, \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ }; - -#define RULES \ -static Rule rule[] = { \ - /* class:instance:title regex tags regex isversatile */ \ - { "Firefox", "3", False }, \ - { "Gimp", NULL, True }, \ - { "MPlayer", NULL, True }, \ - { "Acroread", NULL, True }, \ -};