dwm

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

commit 6da113837c8189c7ce0874bf965469f05a21dd60
parent 009ec08e1c6fe5b28ccec6a0a72f23799205b8d8
Author: Robert Russell <robert@rr3.xyz>
Date:   Wed, 10 Jun 2026 08:35:18 -0700

Add screenshot keybinding

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

diff --git a/config.h b/config.h @@ -62,11 +62,13 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, 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 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, XK_b, togglebar, {0} }, { MODKEY, XK_Left, focusstack, {.i = +1 } }, { MODKEY, XK_Right, focusstack, {.i = -1 } },