dwm

dynamic window manager

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

commit 7962c42fc0a504a631789fb8434015f9cc68bcb4
parent 027c260fcd2045747823774862c9ce45fbec099c
Author: Jul <jul@9o.is>
Date:   Thu,  5 Feb 2026 17:54:14 -0500

toggle potato-c on status click

Diffstat:
Mconfig.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.h b/config.h @@ -84,6 +84,7 @@ static const char *incvol[] = {"dmenu-volume", "increment", "10", NULL}; 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 }; #include "shift-tools.c" @@ -130,7 +131,7 @@ static const Button buttons[] = { { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button2, spawn, {.v = term_cmd } }, + { ClkStatusText, 0, Button1, spawn, {.v = pottog } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} },