aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-03-10 15:54:26 +0530
committersinanmohd <pcmsinan@gmail.com>2023-03-12 15:02:21 +0530
commit9f69479d70978ca59768b8c1340c821f61c75ba2 (patch)
tree0e3b0fc7dde9e9ddf581ec6a03d570699c22fd9e
parent31396e6e7acd502aeb9d20961c2ab6e64dde9434 (diff)
input: keybinds for screenlock and damb
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 278cffc..adcd7d7 100644
--- a/config.def.h
+++ b/config.def.h
@@ -107,8 +107,10 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
static const char *termcmd[] = { "foot", NULL };
static const char *menucmd[] = { "wmenu_run", NULL };
static const char *nnnfm[] = { "foot", "nnn", "-decC", NULL };
+static const char *damb[] = { "damb", NULL };
/* control */
+static const char *scrlock[] = { "waylock", "-init-color", "0x000000", NULL };
static const char *upbri[] = { "brictl", "-i", "1", NULL };
static const char *downbri[] = { "brictl", "-d", "1", NULL };
static const char *upvol[] = { "pamixer", "-i", "5", NULL };
@@ -122,6 +124,8 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
{ MODKEY, XKB_KEY_n, spawn, {.v = nnnfm} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_A, spawn, {.v = damb} },
+ { MODKEY, XKB_KEY_x, spawn, {.v = scrlock} },
{ 0, XKB_KEY_XF86MonBrightnessDown, spawn, {.v = downbri} },
{ 0, XKB_KEY_XF86MonBrightnessUp, spawn, {.v = upbri} },
{ 0, XKB_KEY_XF86AudioMute, spawn, {.v = voltogl} },