aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 8768293..17ee678 100644
--- a/config.def.h
+++ b/config.def.h
@@ -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]} },