diff --git a/users/modules/programs/hyprland.nix b/users/modules/programs/hyprland.nix index eede60c..b8416b5 100644 --- a/users/modules/programs/hyprland.nix +++ b/users/modules/programs/hyprland.nix @@ -1,8 +1,4 @@ { - config, - lib, - ... -}: { home.sessionVariables.NIXOS_OZONE_WL = "1"; wayland.windowManager.hyprland = { enable = true; @@ -84,6 +80,13 @@ "$mainMod, V, togglefloating" ]; + # Repeat when held + binde = [ + # Keyboard Media Keys + ", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" + ", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-" + ]; + bindm = [ "ALT, mouse:272, movewindow" ];