diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-15 15:01:51 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-15 15:01:51 +0100 |
commit | 9309f75ba079065f1487d81ab6c5d5dc90c7bff4 (patch) | |
tree | 877b4c292b00122c402c13912c9639693875645e | |
parent | .gitignore update (diff) | |
download | dwm-9309f75ba079065f1487d81ab6c5d5dc90c7bff4.tar.gz dwm-9309f75ba079065f1487d81ab6c5d5dc90c7bff4.tar.bz2 dwm-9309f75ba079065f1487d81ab6c5d5dc90c7bff4.tar.xz dwm-9309f75ba079065f1487d81ab6c5d5dc90c7bff4.tar.zst dwm-9309f75ba079065f1487d81ab6c5d5dc90c7bff4.zip |
Added nodmenu patch
Diffstat (limited to '')
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | README.org | 1 | ||||
-rw-r--r-- | config.h | 3 | ||||
-rw-r--r-- | dwm.c | 2 |
4 files changed, 3 insertions, 4 deletions
@@ -62,6 +62,7 @@ List of patches in use: - moveresize - movestack - noborder + - nodmenu - pertag - restartsig - sizehints @@ -59,6 +59,7 @@ List of patches in use: - /moveresize/ - /movestack/ - /noborder/ +- /nodmenu/ - /pertag/ - /restartsig/ - /sizehints/ @@ -73,10 +73,9 @@ static const Layout layouts[] = { /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/usr/local/bin/dash", "-c", cmd, NULL } } -static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ /* commands */ static const char *termcmd[] = { "/usr/local/bin/st", NULL }; -static const char *dmenucmd[] = { "/usr/local/bin/dmenu_run", "-i", "-m", dmenumon, NULL }; +static const char *dmenucmd[] = { "/usr/local/bin/dmenu_run", "-i", "-m", "0", NULL }; static const char *dmpccmd[] = { "/home/jozan/.local/bin/dmpc", NULL }; static const char *vifmcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/vifm", NULL }; static const char *nvimcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/nvim", NULL }; @@ -1905,8 +1905,6 @@ sigterm(int unused) void spawn(const Arg *arg) { - if (arg->v == dmenucmd) - dmenumon[0] = '0' + selmon->num; if (fork() == 0) { if (dpy) close(ConnectionNumber(dpy)); |