From 544542a80f21802a7f53e0a1e5e2f14b92f960fa Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Sun, 13 Oct 2024 16:55:56 +0300 Subject: [PATCH] feat: hyprland workspace tomfoolery --- hosts/alice/hyprland.nix | 10 ++++++++++ roles/hyprland.nix | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/hosts/alice/hyprland.nix b/hosts/alice/hyprland.nix index 67c5f30..f07b8f1 100644 --- a/hosts/alice/hyprland.nix +++ b/hosts/alice/hyprland.nix @@ -8,6 +8,16 @@ "DP-1,2560x1440@59,3840x0,1" "HDMI-A-1,1920x1080@60,6400x0,1,transform,1" ]; + + workspace = [ + "1,monitor:DP-1,persistent:1" + "2,monitor:DP-1" + "3,monitor:DP-1" + "4,monitor:DP-1" + "5,monitor:DP-1" + "6,monitor:DP-2,persistent:1" + "7,monitor:HDMI-A-1,persistent:1" + ]; }; programs.wpaperd.settings = { diff --git a/roles/hyprland.nix b/roles/hyprland.nix index 167c8a1..cc472de 100644 --- a/roles/hyprland.nix +++ b/roles/hyprland.nix @@ -89,10 +89,16 @@ in { "$mod, 2, workspace, 2" "$mod, 3, workspace, 3" "$mod, 4, workspace, 4" + "$mod, 5, workspace, 5" + "$mod, 6, workspace, 6" + "$mod, 7, workspace, 7" "$mod SHIFT, 1, movetoworkspace, 1" "$mod SHIFT, 2, movetoworkspace, 2" "$mod SHIFT, 3, movetoworkspace, 3" "$mod SHIFT, 4, movetoworkspace, 4" + "$mod SHIFT, 5, movetoworkspace, 5" + "$mod SHIFT, 6, movetoworkspace, 6" + "$mod SHIFT, 7, movetoworkspace, 7" ]; binde = [ "$mod CTRL, h, resizeactive, -10 0" -- 2.44.1