From 1f57a9fc529a925d25ea7f3ccf44d3f62a8c6176 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sat, 3 May 2025 03:46:55 +0100 Subject: [PATCH] moved single use window rules into exec dispatcher window rules i was using to move things into the right places on the comms workspace were redundant, as the single move could be performed in the exec dispatcher using rules instead --- home-manager/hyprland.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 80a4ba8..5989790 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -37,16 +37,10 @@ "$mod, mouse:273, resizewindow" ]; exec-once = [ - "[workspace name:comms silent] telegram-desktop" - "[workspace name:comms silent] signal-desktop" - "[workspace name:comms silent] firefox https://web.whatsapp.com https://instagram.com" - "[workspace name:comms silent] vesktop" - ]; - windowrule = [ - "move 100%,100%, title:*WhatsApp*" - "move -100%,100%, title:*Telegram*" - "move 100%,-100%, title:*Vesktop*" - "move -100%,-100%, title:*Signal*" + "[workspace name:comms silent; move -100%,100%] telegram-desktop" + "[workspace name:comms silent; move -100%,-100%] signal-desktop" + "[workspace name:comms silent; move 100%,100%] firefox https://web.whatsapp.com https://instagram.com" + "[workspace name:comms silent; move 100%,-100%] vesktop" ]; # Declare all keybinds