commit 3793e38b112f007b16e75de626f19c3a41535c9f
parent 228af1e3d50b690a3013d24943ba3ce59f7734b6
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Sun, 7 Apr 2024 18:53:04 -0400
added screenshot binds.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dwl/config.h b/dwl/config.h
@@ -94,6 +94,8 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_F12, spawn, {.v = passcmd} },
{ MODKEY, XKB_KEY_n, spawn, SHCMD(TERMINAL " -e newsboat") },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_N, spawn, SHCMD(TERMINAL " -e neomutt") },
+ { MODKEY, XKB_KEY_s, spawn, SHCMD("grimshot copy area") },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, SHCMD("grimshot save area - | swappy -f -") },
{ MODKEY, XKB_KEY_b, spawn, {.v = browsercmd} },
{ MODKEY, XKB_KEY_r, spawn, {.v = rdpmenucmd} },
{ MODKEY, XKB_KEY_Delete, spawn, {.v = swaylockcmd} },