tintegrated the new -x -y -w toggles of dmenu into my setup - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b31b430592125a9f8481bb8a812c06cab9003dcf
(DIR) parent 88c8ead3e8a22d311964c2a3ea0e384044f546c9
(HTM) Author: Anselm R Garbe <garbeam@gmail.com>
Date: Wed, 5 Mar 2008 19:03:45 +0000
integrated the new -x -y -w toggles of dmenu into my setup
Diffstat:
M config.def.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/config.def.h b/config.def.h
t@@ -10,7 +10,7 @@
#define SELBGCOLOR "#0066ff"
#define SELFGCOLOR "#ffffff"
-#if WORK
+#if ANSELM_OFFICE
/* bar position */
#define BX 0
t@@ -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 },