diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-06-01 19:04:49 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-06-01 19:04:49 +0200 |
commit | bf9c684624cb8446b8b09b1cfc3538dd603738e9 (patch) | |
tree | 7b64605848aa54bf8e6767c90dc30e6b4d216dac /config.def.h | |
parent | 37abb009c11fabe7a85e04588542636d6dc5a96e (diff) | |
download | dwm-bf9c684624cb8446b8b09b1cfc3538dd603738e9.tar.gz dwm-bf9c684624cb8446b8b09b1cfc3538dd603738e9.tar.bz2 dwm-bf9c684624cb8446b8b09b1cfc3538dd603738e9.zip |
update
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h index 0fd0ef2..4012429 100644 --- a/config.def.h +++ b/config.def.h @@ -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} }, |