dwm

dwm fork
git clone git://git.rr3.xyz/dwm | git clone gits://git.rr3.xyz/dwm
Log | Files | Refs | README | LICENSE

commit 89d54dfc8a71953f6990ed13c86029874979cb80
parent 6da113837c8189c7ce0874bf965469f05a21dd60
Author: Robert Russell <robert@rr3.xyz>
Date:   Fri, 10 Jul 2026 00:20:56 -0700

Add keybind for zzz

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

diff --git a/config.h b/config.h @@ -63,12 +63,14 @@ static const char *volupcmd[] = { "volset", "+5%", NULL }; static const char *voldowncmd[] = { "volset", "-5%", NULL }; static const char *slockcmd[] = { "slock", NULL }; static const char *scrotcmd[] = { "scrot", "-s", NULL }; +static const char *zzzcmd[] = { "sh", "-c", "slock & sleep 1 ; doas zzz", NULL }; static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_space, spawn, {.v = dmenucmd } }, { MODKEY, XK_l, spawn, {.v = slockcmd } }, { MODKEY, XK_s, spawn, {.v = scrotcmd } }, + { MODKEY|ShiftMask, XK_l, spawn, {.v = zzzcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_Left, focusstack, {.i = +1 } }, { MODKEY, XK_Right, focusstack, {.i = -1 } },