From a21c066eb6d0fadff1f2484b27f19e68a2763d2e Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 16 Oct 2023 22:03:37 +1000 Subject: [PATCH] Fix window rules --- sway/.config/sway/config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index b11e6f0..5d5575c 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -152,8 +152,11 @@ gaps inner 8 # Window rules focus_follows_mouse no for_window { - [class="Discord"] inhibit_idle fullscreen - [class="Firefox"] inhibit_idle fullscreen + [app_id="firefox"] inhibit_idle fullscreen + + # XWayland + [class="discord"] inhibit_idle fullscreen + [class="firefox"] inhibit_idle fullscreen } # Notification daemon