summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index b6f10de..0d71c5e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -219,7 +219,9 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
/* commands */
static const char *termcmd[] = { "alacritty", NULL };
+static const char *hardflip_cmd[] = { "alacritty", "-e", "hf", NULL };
static const char *menucmd[] = { "dmrun", NULL };
+static const char *dmapps_cmd[] = { "dmapps", NULL };
static const char *dmlog_cmd[] = { "dmlog", NULL };
static const char *dmpass_full_cmd[] = { "dmpass", "--full", NULL };
static const char *dmpass_cmd[] = { "dmpass", NULL };
@@ -231,6 +233,8 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XKB_KEY_p, wmenuspawn, {.v = menucmd } },
{ MODKEY, XKB_KEY_Return, spawn, {.v = termcmd } },
+ { MODKEY|CTRL|SHIFT, XKB_KEY_Return, spawn, {.v = hardflip_cmd } },
+ { MODKEY|CTRL, XKB_KEY_Return, wmenuspawn, {.v = dmapps_cmd } },
{ MODKEY, XKB_KEY_F1, togglescratch, {.v = spterm } },
{ MODKEY, XKB_KEY_F2, togglescratch, {.v = spfm } },
{ MODKEY|SHIFT, XKB_KEY_F2, togglescratch, {.v = sppcman } },