sway: Bring some sanity to zoom

Taken from
https://www.reddit.com/r/swaywm/comments/l9asbc/zoom_on_sway_what_settings_do_you_use/
This commit is contained in:
Sanchayan Maity 2023-04-12 14:14:00 +05:30
parent 9c4bdb5644
commit 6329816b42
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -4,8 +4,15 @@ for_window [app_id="firefox" title="Firefox — Sharing Indicator"] {
kill kill
} }
for_window [app_id="gst-launch-1.0"] floating enable, resize set width 1920 px height 1080px for_window [app_id="gst-launch-1.0"] floating enable, resize set width 1920 px height 1080px
assign [app_id="gst-launch-1.0"] 5 assign [app_id="gst-launch-1.0"] 5
assign [title="gst-play-1.0"] 5 assign [title="gst-play-1.0"] 5
assign [app_id="mpv"] 6 assign [app_id="mpv"] 6
assign [app_id="vimiv"] 8 assign [app_id="vimiv"] 8
assign [app_id="xdot"] 8 assign [app_id="xdot"] 8
for_window [app_id="zoom" title="^zoom$"] border none, floating enable
for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable
for_window [app_id="zoom" title="Settings"] floating enable, floating_minimum_size 1080 x 720
for_window [app_id="zoom" title="Zoom Meeting(.*)?"] floating disable, inhibit_idle open
assign [app_id="zoom" title="Zoom Meeting(.*)?"] 9