Prevent firefox "sharing indicator" from stealing focus

This commit is contained in:
Adam Gausmann 2023-02-06 19:35:25 -06:00
parent 8637fce074
commit 55e72443e4

View file

@ -45,9 +45,13 @@ output * bg ${home}/.local/share/backgrounds/sway-dark-1920x1080.png fill
input type:Mouse accel_profile flat input type:Mouse accel_profile flat
# gamepad games: # auto-float
for_window [title="TrackMania Nations Forever"] inhibit_idle focus for_window [title="Firefox — Sharing Indicator"] {
for_window [title="TrackMania"] inhibit_idle focus floating enable
move position 0 0
}
no_focus [title="Firefox — Sharing Indicator"]
exec pipewire exec pipewire
exec pipewire-pulse exec pipewire-pulse