X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/7edc59631193813cf4d64030f8864de36b193cfc..3d1090ba896319368c4771b88d325fcee368a608:/config.def.h diff --git a/config.def.h b/config.def.h index d300687..875885b 100644 --- a/config.def.h +++ b/config.def.h @@ -50,8 +50,9 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; -static const char *termcmd[] = { "st", "-f", font, NULL }; +static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; +static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */