[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.
This commit is contained in:
2024-05-22 12:27:59 +05:30
parent a87d7a9bb7
commit e827ba7012

4
dwm.c
View File

@@ -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);
}