From 55e72443e444bf4f47adf3bc6ce29d615a9fcf9d Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Mon, 6 Feb 2023 19:35:25 -0600 Subject: [PATCH] Prevent firefox "sharing indicator" from stealing focus --- templates/.config/sway/config | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/.config/sway/config b/templates/.config/sway/config index 184b798..b33e462 100644 --- a/templates/.config/sway/config +++ b/templates/.config/sway/config @@ -45,9 +45,13 @@ output * bg ${home}/.local/share/backgrounds/sway-dark-1920x1080.png fill input type:Mouse accel_profile flat -# gamepad games: -for_window [title="TrackMania Nations Forever"] inhibit_idle focus -for_window [title="TrackMania"] inhibit_idle focus +# auto-float +for_window [title="Firefox — Sharing Indicator"] { + floating enable + move position 0 0 +} +no_focus [title="Firefox — Sharing Indicator"] + exec pipewire exec pipewire-pulse