From 4605972b661bb40c4ad538170a24cf23c3fc681b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 11 Apr 2024 16:45:40 -0400 Subject: [PATCH] hyprland: super+scroll switches by relative workspace ID, not just existing ones --- homeManagerModules/desktopEnv/hypr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeManagerModules/desktopEnv/hypr/default.nix b/homeManagerModules/desktopEnv/hypr/default.nix index c31643b6..fe8ba298 100644 --- a/homeManagerModules/desktopEnv/hypr/default.nix +++ b/homeManagerModules/desktopEnv/hypr/default.nix @@ -308,8 +308,8 @@ bind = ${modifier} SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll - bind = ${modifier}, mouse_down, workspace, e+1 - bind = ${modifier}, mouse_up, workspace, e-1 + bind = ${modifier}, mouse_down, workspace, +1 + bind = ${modifier}, mouse_up, workspace, -1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = ${modifier}, mouse:272, movewindow