From ba6f6a4ba98217d2bd2473b15ff90e1deb8d2f53 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Wed, 30 Apr 2025 17:19:39 +0100 Subject: [PATCH] added hyprland workspaces using SUPER + ARROWS to move between workspaces using SUPER SHIFT + ARROWS to move windows to new workspaces --- home-manager/hyprland.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index f577f0f..e32c227 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -29,6 +29,9 @@ disable_while_typing = true; }; }; + gestures = { + workspace_swipe = true; + }; # bindl = [ # ",switch:off:Lid Switch,exec,hyprctl keyword monitor eDP-2, 2560x1600@165, 0x0, auto" @@ -60,6 +63,12 @@ # Window management "$mod, x, killactive" "$mod, tab, togglefloating" + + # Workspace management + "$mod, right, workspace, +1" + "$mod, left, workspace, -1" + "$mod SHIFT, right, movetoworkspace, +1" + "$mod SHIFT, left, movetoworkspace, -1" ]; # Prevent xwayland apps from looking pixellated, cursor scaling to compensate for this is defined in home.nix