diff --git a/config.def.h b/config.def.h index 401ccdb..78ee1ad 100644 --- a/config.def.h +++ b/config.def.h @@ -90,8 +90,6 @@ 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 *screenshot[] = { "scrsht", NULL }; static const char *screenshotarea[] = { "scrsht", "-s", NULL }; @@ -101,10 +99,10 @@ static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL } static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL }; -static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "st", NULL }; -static Key keys[] = { +static const Key keys[] = { /* modifier key function argument */ { 0, XK_Print, spawn, {.v = screenshot } }, { ShiftMask, XK_Print, spawn, {.v = screenshotarea } }, @@ -159,7 +157,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]} }, diff --git a/config.mk b/config.mk index 09fede2..d41f4a3 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = bit.dwm_1.0 +VERSION = bit.dwm_1.1 # Customize below to fit your system