From 0c7644eebcceb30621091b2edce798a204f8bdbc Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 13 Apr 2020 00:10:51 -0400 Subject: clickable statuscmd patch with dwmblocks --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index fce5d1f..de66111 100644 --- a/config.h +++ b/config.h @@ -279,7 +279,11 @@ static Button buttons[] = { { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button2, spawn, SHCMD("st -e statusbarinfo") }, + { ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1} }, + { ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2} }, + { ClkStatusText, 0, Button3, sigdwmblocks, {.i = 3} }, + { ClkStatusText, 0, Button4, sigdwmblocks, {.i = 4} }, + { ClkStatusText, 0, Button5, sigdwmblocks, {.i = 5} }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, -- cgit v1.2.3