summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2022-10-30 10:32:43 +0100
committerbakkeby <[email protected]>2022-10-30 10:32:43 +0100
commitad56835713b210ba71d2979ce345de39a5736f42 (patch)
treeb3a3c4b75ed1b2a37e65be91ecd35851fbaba67c /config.def.h
parente6a74ad3ea480ff7262af104db440d6bda0ab5ab (diff)
downloaddwm-flexipatch-ad56835713b210ba71d2979ce345de39a5736f42.tar.gz
dwm-flexipatch-ad56835713b210ba71d2979ce345de39a5736f42.zip
Bump to ba56fe9.
Revert "Remove dmenumon variable" This reverts commit c2b748e7931e5f28984efc236f9b1a212dbc65e8. Revert back this change. It seems to not be an edge-case anymore since multiple users have asked about this new behaviour now. Ref. https://git.suckless.org/dwm/commit/ba56fe9fea0a28d8184a727a987836a0903e2682.html
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 5d10181..e030ee9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -851,8 +851,14 @@ static const char *xkb_layouts[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
+#if !NODMENU_PATCH
+static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
+#endif // NODMENU_PATCH
static const char *dmenucmd[] = {
"dmenu_run",
+ #if !NODMENU_PATCH
+ "-m", dmenumon,
+ #endif // NODMENU_PATCH
"-fn", dmenufont,
"-nb", normbgcolor,
"-nf", normfgcolor,