feat(sway): zoom rules

This commit is contained in:
oxypomme
2026-05-18 08:46:42 +02:00
parent 1171e23373
commit a33e986cde

View File

@@ -1,11 +1,27 @@
for_window [app_id="Zoom Workplace"] {
for_window [class="zoom" title="^zoom$"] {
border none
floating enable
}
for_window [app_id="Zoom Workplace" title="Zoom Workplace - Free Account"] {
floating disable
# For specific Zoom windows
for_window [class="zoom" title="^(Zoom|About)$"] {
border pixel
floating enable
}
for_window [app_id="Zoom Workplace" title="Meeting"] {
floating disable
for_window [class="zoom" title="Settings"] {
floating enable
floating_minimum_size 960 x 700
}
for_window [class="zoom" title="annotate_toolbar"] {
floating enable
}
# Open Zoom Meeting windows on a new workspace (a bit hacky)
for_window [class="zoom" title="Zoom Meeting(.*)?"] {
workspace next_on_output --create
move container to workspace current
floating disable
inhibit_idle open
}