diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -61,8 +61,6 @@ static const Layout layouts[] = { /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } -#define STATUSBAR "dwmblocks" - /* 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 }; @@ -111,7 +109,7 @@ static const Key keys[] = { { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl set 10%-") }, { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl set 10%+") }, { 0, XF86XK_Launch1, spawn, SHCMD("dmenu-power") }, - { 0, XK_Print, spawn, SHCMD("screenshot.sh") }, + { 0, XK_Print, spawn, SHCMD("screenshot") }, TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_eacute, 1) TAGKEYS( XK_quotedbl, 2) @@ -131,9 +129,7 @@ static const Button buttons[] = { { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button1, sigstatusbar, {.i = 1} }, - { ClkStatusText, 0, Button2, sigstatusbar, {.i = 2} }, - { ClkStatusText, 0, Button3, sigstatusbar, {.i = 3} }, + { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, |