commit: b036b81e0afd5dcb1a729a81480aebfc915c64ee
parent 4bad9c7aead8ec4ea8cc6cd24db236055adae4c8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 10 May 2021 12:25:28 +0200
config: Switch Mod key to Logo/Super_L
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config.h b/config.h
@@ -11,9 +11,11 @@ static const float locked_color[4] = {0.50f, 0.25f, 0.25f, 1.0f};
#define BORDER_SIZE 1
// See `enum wlr_keyboard_modifier` in `<wlr/types/wlr_keyboard.h>`
-#define ModMask WLR_MODIFIER_ALT
+//#define ModMask WLR_MODIFIER_ALT
+#define ModMask WLR_MODIFIER_LOGO
#define ShiftMask WLR_MODIFIER_SHIFT
-#define ModKey XKB_KEY_Alt_L
+// See <xkbcommon/xkbcommon-keysyms.h>
+#define ModKey XKB_KEY_Super_L
// clang-format off
static Shortcut shortcuts[] = {