summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2026-10-13 15:00:21 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2026-10-16 13:26:00 +0200
commitbca7cf2bd91760855408326411a659ff72895860 (patch)
tree9a3649a2319cf80ff2f0ae3cd9c14274dcdfc427 /config.def.h
parentprint an error if fork failed (resource / process limits) (diff)
downloaddwm-bca7cf2bd91760855408326411a659ff72895860.tar.gz
dwm-bca7cf2bd91760855408326411a659ff72895860.zip
support spawning dmenu with more than 10 monitors
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 81c3fc0..cb4cf6b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -57,7 +57,7 @@ static const Layout layouts[] = {
57#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } 57#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
58 58
59/* commands */ 59/* commands */
60static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ 60static char dmenumon[8]; /* component of dmenucmd, manipulated in spawn() */
61static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; 61static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
62static const char *termcmd[] = { "st", NULL }; 62static const char *termcmd[] = { "st", NULL };
63 63