sway/config: import some window settings

From this excellent Reddit thread:

https://www.reddit.com/r/swaywm/comments/q90v6l/sharing_some_for_window_rules/
This commit is contained in:
Alan Orth 2021-10-18 13:36:05 +03:00
parent cf59586f64
commit 2686a897ea
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -34,11 +34,14 @@ 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
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable; sticky 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
for_window [title="Extension: \(PassFF\).*"] floating enable
for_window [title="Office 365 - Manual authentication"] floating enable
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle visible
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
### Output configuration
#