diff options
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)); |