diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-06-10 09:57:02 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-06-10 09:57:02 +0200 |
commit | cdc987ffb62f0c9622fba8fcc6463cd7e5ca2585 (patch) | |
tree | 2b8b9af0b484a8e92f61eecf76327f9b6e2ee9f6 /config.h | |
parent | a7b25e71789a95aba81291d93b908fb77523966e (diff) | |
download | dwm-cdc987ffb62f0c9622fba8fcc6463cd7e5ca2585.tar.gz dwm-cdc987ffb62f0c9622fba8fcc6463cd7e5ca2585.tar.bz2 dwm-cdc987ffb62f0c9622fba8fcc6463cd7e5ca2585.zip |
update
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -68,17 +68,22 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; -static const char *termcmd[] = { "kitty", NULL }; +static const char *termcmd[] = { "kitty", NULL }; +static const char *webcmd[] = { "librewolf", NULL }; +static const char *menupower[] = { "dmenu-power", NULL }; +static const char *menuaudio[] = { "dmenu-audio", NULL }; +static const char *menusystem[] = { "dmenu-system", NULL }; +static const char *scratch[] = { "st", "-g", "120x34", NULL }; static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_BackSpace, spawn, SHCMD("librewolf") }, - { MODKEY, XK_x, spawn, SHCMD("dmenu-power") }, - { MODKEY, XK_a, spawn, SHCMD("dmenu-audio") }, - { MODKEY, XK_s, spawn, SHCMD("dmenu-system") }, - { MODKEY, XK_Delete, spawn, SHCMD("st -g 120x34") }, + { MODKEY, XK_BackSpace, spawn, {.v = webcmd } }, + { MODKEY, XK_x, spawn, {.v = menupower } }, + { MODKEY, XK_a, spawn, {.v = menuaudio } }, + { MODKEY, XK_s, spawn, {.v = menusystem } }, + { MODKEY, XK_Delete, spawn, {.v = scratch } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, |