From 0b489bbe1b3a0d4951355e887dd53cf07011afea Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 20 Aug 2024 14:34:12 -0400 Subject: [PATCH] aly: restore hyprland workspace assognments for laptops --- homes/aly/windowManagers/laptop.nix | 5 +++++ nixosModules/desktop/sway/default.nix | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/homes/aly/windowManagers/laptop.nix b/homes/aly/windowManagers/laptop.nix index ec172316..2f04b88a 100644 --- a/homes/aly/windowManagers/laptop.nix +++ b/homes/aly/windowManagers/laptop.nix @@ -25,6 +25,11 @@ "sleep 2 && hyprctl dispatch workspace 2 && sleep 2 && hyprctl dispatch workspace 3 && sleep 2 && hyprctl dispatch workspace 4 && sleep 2 && hyprctl dispatch workspace 1;" ]; + windowrulev2 = [ + "workspace 1,class:(brave-browser)" + "workspace 5,class:(firework)" + ]; + workspace = [ "1,defaultName:web,on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser}" "2,defaultName:note,on-created-empty:${lib.getExe' pkgs.obsidian "obsidian"}" diff --git a/nixosModules/desktop/sway/default.nix b/nixosModules/desktop/sway/default.nix index 6256ba72..64a719a1 100644 --- a/nixosModules/desktop/sway/default.nix +++ b/nixosModules/desktop/sway/default.nix @@ -1,5 +1,4 @@ { - pkgs, lib, config, ...