From ad56835713b210ba71d2979ce345de39a5736f42 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sun, 30 Oct 2022 10:32:43 +0100 Subject: 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 --- config.def.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.def.h') 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, -- cgit v1.2.3