JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added screen-border snapping in floating mode, feels quite well
[dwm.git] / config.arg.h
index 35dac9b..30bfaf9 100644 (file)
@@ -19,12 +19,13 @@ const char *tags[] = { "dev", "work", "net", "fnord", NULL };
 
 #define MASTER                 600 /* per thousand */
 #define MODKEY                 Mod1Mask
+#define SNAP                   20 /* pixel */
 
 #define KEYS \
 static Key key[] = { \
        /* modifier                     key             function        arguments */ \
        { MODKEY|ShiftMask,             XK_Return,      spawn, \
-               { .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
+               { .cmd = "exec urxvtc -tr -bg black -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
        { MODKEY,                       XK_p,           spawn, \
                { .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
                        " | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
@@ -59,8 +60,8 @@ static Key key[] = { \
 #define RULES \
 static Rule rule[] = { \
        /* class:instance:title regex   tags regex      isfloat */ \
-       { "Firefox.*",                  "net",          False}, \
-       { "Gimp.*",                     NULL,           True}, \
-       { "MPlayer.*",                  NULL,           True}, \
-       { "Acroread.*",                 NULL,           True}, \
+       { "Firefox.*",                  "net",          False }, \
+       { "Gimp.*",                     NULL,           True }, \
+       { "MPlayer.*",                  NULL,           True }, \
+       { "Acroread.*",                 NULL,           True }, \
 };