aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-10-05 17:31:29 -0700
committerxyz <gky44px1999@gmail.com>2022-10-05 17:31:29 -0700
commit82946a0ce3a1e6f44847b63509b178aa9dd0b8fd (patch)
tree2612dc3ea240ee055a0dcef2f1bf704da37f77a3 /config.def.h
parent161a233be22d69ada3835fd1025f4b3d08aa3f5e (diff)
parent50ad171eea9db5ccb36fce2592e047c3282975ff (diff)
merge upstream
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 7d2b3b0..9b06962 100644
--- a/config.def.h
+++ b/config.def.h
@@ -65,11 +65,10 @@ static const Layout layouts[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
-static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
-static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_base01, "-nf", col_base04, "-sb", col_base0D, "-sf", col_base00, NULL };
+static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", col_base01, "-nf", col_base04, "-sb", col_base0D, "-sf", col_base00, NULL };
static const char *termcmd[] = { "alacritty", NULL };
-static Key keys[] = {
+static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
@@ -139,7 +138,7 @@ static Key keys[] = {
/* button definitions */
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
-static Button buttons[] = {
+static const Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },