diff --git a/modules/hyprland/hyprland.nix b/modules/hyprland/hyprland.nix index 599f739..90b3f73 100644 --- a/modules/hyprland/hyprland.nix +++ b/modules/hyprland/hyprland.nix @@ -49,13 +49,15 @@ in desktopSystemConfiguration { ", XF86AudioRaiseVolume , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5" ", XF86AudioLowerVolume , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" - ", XF86AudioMute , exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" - ", XF86AudioMicMute , exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" - ", XF86MonBrightnessUp , exec, brightnessctl set 5%+" ", XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-" ]; + bindl = [ + ", XF86AudioMute , exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + ", XF86AudioMicMute , exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" + ]; + bindm = [ "SUPER, mouse:272, movewindow" "SUPER, mouse:274, movewindow" @@ -63,9 +65,6 @@ in desktopSystemConfiguration { ]; binde = [ - "SUPER, mouse_up, workspace, e+1" - "SUPER, mouse_down, workspace, e-1" - "SUPER, left , movefocus, l" "SUPER, down , movefocus, d" "SUPER, up , movefocus, u" @@ -91,6 +90,9 @@ in desktopSystemConfiguration { "SUPER , TAB, workspace, e+1" "SUPER+ALT, TAB, workspace, e-1" + "SUPER, mouse_up, workspace, e+1" + "SUPER, mouse_down, workspace, e-1" + (map (n: [ "SUPER , ${toString n}, workspace , ${toString n}" "SUPER+ALT, ${toString n}, movetoworkspacesilent, ${toString n}"