From f9c34068371891cba49d4f526b965fab043e3c00 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Tue, 30 Jun 2026 18:10:24 -0700 Subject: fix cmds --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 4546535..ad29910 100644 --- a/config.def.h +++ b/config.def.h @@ -149,8 +149,8 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* commands */ static const char *termcmd[] = { "foot", NULL }; static const char *menucmd[] = { "wmenu-run", NULL }; -//static const char *passcmd[] = { "passmenu", NULL }; TO FIX WITH WAYLAND MENU -//static const char *otpcmd[] = { "otp", NULL }; SAME AS passcmd +static const char *passcmd[] = { "passmenu", NULL }; TO FIX WITH WAYLAND MENU +static const char *otpcmd[] = { "otp", NULL }; SAME AS passcmd static const char *webcmd[] = { "web", NULL }; static const char *radarcmd[] = { "radar", NULL }; @@ -160,8 +160,8 @@ static const Key keys[] = { /* Note that Shift changes certain key codes: 2 -> at, etc. */ /* modifier key function argument */ // commands -// { MODKEY|ShiftMask, XK_p, spawn, {.v = passcmd } }, -// { MODKEY, XK_o, spawn, {.v = otpcmd } }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_p, spawn, {.v = passcmd } }, + { MODKEY, XKB_KEY_o, spawn, {.v = otpcmd } }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_A, spawn, {.v = webcmd } }, { MODKEY, XKB_KEY_r, spawn, {.v = radarcmd } }, // basic functionality -- cgit v1.2.3