sway/config: Send sharing indicator to scratchpad

This is a neat trick to automatically send the annoying sharing
indicator in Firefox and Chrome to the scratch pad.

See: https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/
This commit is contained in:
Alan Orth 2020-12-22 12:58:39 +02:00
parent dddee5b721
commit 485b7af00b
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -33,6 +33,9 @@ assign [app_id="geary"] 3
assign [app_id="thunderbird"] 3
for_window [app_id="gnome-calculator"] floating enable
for_window [app_id="firefox" title="About Firefox"] floating enable
# Send the sharing indicator in Chrome and Firefox to the scratchpad
# https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/
for_window [title=".+[Ss]haring (Indicator|your screen)"] floating enable, move to scratchpad
### Output configuration
#