integrated the new -x -y -w toggles of dmenu into my setup
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 5 Mar 2008 19:03:45 +0000 (19:03 +0000)
committerAnselm R Garbe <garbeam@gmail.com>
Wed, 5 Mar 2008 19:03:45 +0000 (19:03 +0000)
config.def.h

index c87553f..88d1002 100644 (file)
@@ -10,7 +10,7 @@
 #define SELBGCOLOR             "#0066ff"
 #define SELFGCOLOR             "#ffffff"
 
-#if WORK
+#if ANSELM_OFFICE
 
 /* bar position */
 #define BX 0
@@ -88,8 +88,13 @@ Layout layouts[] = {
 #define MODKEY                 Mod1Mask
 Key keys[] = {
        /* modifier                     key             function        argument */
+#if ANSELM_OFFICE
+       { MODKEY,                       XK_p,           spawn,
+               "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"' -x 0 -y 0 -w 1280" },
+#else
        { MODKEY,                       XK_p,           spawn,
                "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
+#endif
        { MODKEY|ShiftMask,             XK_Return,      spawn, "exec uxterm" },
        { MODKEY,                       XK_j,           focusnext,      NULL },
        { MODKEY,                       XK_k,           focusprev,      NULL },