diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-22 12:27:59 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-22 12:53:51 +0530 |
commit | e827ba7012758bc6549fd170eaedb29f8eb0ca41 (patch) | |
tree | dd83115325d88653f35396496b08a8cda3cc9aaf | |
parent | a87d7a9bb7b6219c563a66f966b24763bb5f10cc (diff) | |
download | dwm-e827ba7012758bc6549fd170eaedb29f8eb0ca41.tar.gz dwm-e827ba7012758bc6549fd170eaedb29f8eb0ca41.tar.bz2 dwm-e827ba7012758bc6549fd170eaedb29f8eb0ca41.zip |
[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.
-rw-r--r-- | dwm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); } |