[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:
4
dwm.c
4
dwm.c
@@ -1795,9 +1795,7 @@ sigchld(int unused)
|
|||||||
void
|
void
|
||||||
spawn(const Arg *arg)
|
spawn(const Arg *arg)
|
||||||
{
|
{
|
||||||
if (arg->v == dmenucmd)
|
if (arg->v == statuscmd) {
|
||||||
dmenumon[0] = '0' + selmon->num;
|
|
||||||
else if (arg->v == statuscmd) {
|
|
||||||
statuscmd[2] = statuscmds[statuscmdn];
|
statuscmd[2] = statuscmds[statuscmdn];
|
||||||
setenv("BUTTON", lastbutton, 1);
|
setenv("BUTTON", lastbutton, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user