mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
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:
parent
51795a8829
commit
c5d758c88d
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
opacity = lib.strings.floatToString config.stylix.opacity.terminal;
|
opacity = lib.strings.floatToString config.stylix.opacity.terminal;
|
||||||
|
modifier = "SUPER";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ ''
|
xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ ''
|
||||||
@ -102,9 +103,9 @@ in
|
|||||||
allow_workspace_cycles = yes
|
allow_workspace_cycles = yes
|
||||||
}
|
}
|
||||||
|
|
||||||
$SUPER = SUPER
|
$SUPER = ${modifier}
|
||||||
$SUPER_SHIFT = SUPER_SHIFT
|
$SUPER_SHIFT = ${modifier}_SHIFT
|
||||||
$SUPER_ALT = SUPER_ALT
|
$SUPER_ALT = ${modifier}_ALT
|
||||||
|
|
||||||
bind = $SUPER_SHIFT, Return, exec, kitty
|
bind = $SUPER_SHIFT, Return, exec, kitty
|
||||||
bind = $SUPER, Q, killactive,
|
bind = $SUPER, Q, killactive,
|
||||||
|
Loading…
Reference in New Issue
Block a user