From: Anselm R Garbe Date: Wed, 5 Mar 2008 19:03:45 +0000 (+0000) Subject: integrated the new -x -y -w toggles of dmenu into my setup X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b31b430592125a9f8481bb8a812c06cab9003dcf;p=dwm.git integrated the new -x -y -w toggles of dmenu into my setup --- diff --git a/config.def.h b/config.def.h index c87553f..88d1002 100644 --- a/config.def.h +++ b/config.def.h @@ -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 },