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.
This commit is contained in:
Donovan Glover 2023-07-01 14:06:34 -04:00
parent 51795a8829
commit c5d758c88d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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,