aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-16 19:06:26 +0530
committersinanmohd <sinan@firemail.cc>2023-09-22 14:33:26 +0530
commitb9a18f7a2f6b29f514169dd73930001661a6ee41 (patch)
treeb7b21774ee2f2949a6b6f4b587c982af1a763c92 /config.def.h
parentd7fdbc257c002ccac813bf359c310d90eb8bca4b (diff)
input: add keybindings for freezshot
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index fa73252..8a16ea9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -108,6 +108,7 @@ static const char *nnnfm[] = { "foot", "nnn", "-decC", NULL };
static const char *www[] = { "firefox", NULL };
static const char *damb[] = { "damb", NULL };
static const char *dbook[] = { "dbook", NULL };
+static const char *scrshot[] = { "freezshot", NULL };
/* control */
static const char *scrlock[] = { "swaylock", NULL };
@@ -128,6 +129,7 @@ static const Key keys[] = {
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_A, spawn, {.v = damb} },
{ MODKEY, XKB_KEY_x, spawn, {.v = scrlock} },
{ MODKEY, XKB_KEY_b, spawn, {.v = dbook} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, {.v = scrshot} },
{ 0, XKB_KEY_XF86MonBrightnessDown, spawn, {.v = downbri} },
{ 0, XKB_KEY_XF86MonBrightnessUp, spawn, {.v = upbri} },
{ 0, XKB_KEY_XF86AudioMute, spawn, {.v = voltogl} },