From ec8f1d9d7e0266acff5d04f9e7bc7ee86745107c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 2 May 2023 09:51:22 +0100 Subject: [PATCH] Attempt to make only the first NoMachine window floating Add workspace rule for MS Teams client --- nixos/home/desktop/wayland/config/hypr/window-rules.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/home/desktop/wayland/config/hypr/window-rules.conf b/nixos/home/desktop/wayland/config/hypr/window-rules.conf index 9eb2e28c..c3706b1b 100644 --- a/nixos/home/desktop/wayland/config/hypr/window-rules.conf +++ b/nixos/home/desktop/wayland/config/hypr/window-rules.conf @@ -6,11 +6,12 @@ windowrule = float, ^(.blueman-manager-wrapped)$ windowrule = center, ^(.blueman-manager-wrapped)$ windowrule = float, ^(marktext)$ windowrule = center, ^(marktext)$ -windowrule = float, ^(Nxplayer.bin)$ -windowrule = center, ^(Nxplayer.bin)$ windowrule = float, ^(otpclient)$ windowrule = move 2% 6%, ^(otpclient)$ +windowrulev2 = float,class:^(Nxplayer.bin)$,title:^(NoMachine)$ +windowrulev2 = center,class:^(Nxplayer.bin)$,title:^(NoMachine)$ + windowrule = workspace 1, ^(neovide)$ windowrule = workspace 2, ^(firefox)$ windowrule = workspace 2, ^(librewolf)$ @@ -18,6 +19,7 @@ windowrule = workspace 2, ^(Chromium-browser)$ windowrule = workspace 3, ^(org.kde.dolphin)$ windowrule = workspace 4, ^(thunderbird)$ windowrule = workspace 4, ^(Mailspring)$ +windowrule = workspace 4, ^(Microsoft Teams - Preview)$ windowrule = workspace 5, ^(Element)$ windowrule = workspace 5, ^(Signal)$ windowrule = workspace 5, ^(discord)$