dwm

dynamic window manager

git clone https://9o.is/git/dwm.git

commit d804eb1ea81b439eee63b404b2c07f252e79b09a
parent fbd08a4b0bbc12827fee1f88a5a09421f952f09c
Author: Jul <jul@9o.is>
Date:   Fri, 20 Feb 2026 07:44:44 +0800

handle potato-c time increase/decrease with scrollwheel

Diffstat:
Mconfig.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/config.h b/config.h @@ -82,6 +82,8 @@ static const char *decvol[] = {"dmenu-volume", "decrement", "10", NULL}; static const char *mutvol[] = {"dmenu-volume", "mute", NULL}; static const char *dmenu_brightness[] = { "dmenu-brightness", NULL }; static const char *pottog[] = { "potctl", "-t", NULL }; +static const char *potinc[] = { "potctl", "-i", NULL }; +static const char *potdec[] = { "potctl", "-d", NULL }; static const char *qubescopy[] = { "qubes-clipboard", "copy", NULL }; static const char *qubespaste[] = { "qubes-clipboard", "paste", NULL }; static const char *dmenu_lsw[] = { "dmenu-lsw", "-m", dmenumon, NULL }; @@ -135,6 +137,8 @@ static const Button buttons[] = { { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button1, spawn, {.v = pottog } }, + { ClkStatusText, 0, Button4, spawn, {.v = potinc } }, + { ClkStatusText, 0, Button5, spawn, {.v = potdec } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} },