From c5d758c88de92ff2076c8728f6164e227f9d9f23 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 1 Jul 2023 14:06:34 -0400 Subject: [PATCH] hyprland: Make modifier changes easier Mod2 is the NumLock key, which can be used as an alternative modifier to Super in combination with dual-function-keys. --- home/hyprland.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/hyprland.nix b/home/hyprland.nix index 2e7948cb..7bb96dc2 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -2,6 +2,7 @@ let opacity = lib.strings.floatToString config.stylix.opacity.terminal; + modifier = "SUPER"; in { xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ '' @@ -102,9 +103,9 @@ in allow_workspace_cycles = yes } - $SUPER = SUPER - $SUPER_SHIFT = SUPER_SHIFT - $SUPER_ALT = SUPER_ALT + $SUPER = ${modifier} + $SUPER_SHIFT = ${modifier}_SHIFT + $SUPER_ALT = ${modifier}_ALT bind = $SUPER_SHIFT, Return, exec, kitty bind = $SUPER, Q, killactive,