From e827ba7012758bc6549fd170eaedb29f8eb0ca41 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 22 May 2024 12:27:59 +0530 Subject: [Patch] Remove dmenu functionality from DWM If using an external keyboard client such as sxhkdrc then dwm has no business or need to spawn something like dmenu. --- dwm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dwm.c b/dwm.c index a6aaace..af66670 100644 --- a/dwm.c +++ b/dwm.c @@ -1795,9 +1795,7 @@ sigchld(int unused) void spawn(const Arg *arg) { - if (arg->v == dmenucmd) - dmenumon[0] = '0' + selmon->num; - else if (arg->v == statuscmd) { + if (arg->v == statuscmd) { statuscmd[2] = statuscmds[statuscmdn]; setenv("BUTTON", lastbutton, 1); } -- cgit v1.2.3-13-gbd6f