dotfiles/.config/sway/conf.d/window-rules

25 lines
786 B
Text

# ================== #
# Setup window rules #
# ================== #
for_window {
# Mark all windows running under XWayland as such
[shell="xwayland"] title_format "%title [XWayland]"
# window rules for 'special' types of windows
[window_role="pop-up"] floating enable
[window_role="bubble"] floating enable
[window_role="dialog"] floating enable
[window_role="task_dialog"] floating enable
[window_role="Preferences"] floating enable
[window_type="dialog"] floating enable
[window_type="menu"] floating enable
[instance="update_installer"] floating enable
# window rules for specific apps
[app_id="^org.keepassxc.KeePassXC$"] floating enable
[app_id="mpv"] inhibit_idle visible; border none; max_render_time off
[class="Steam"] max_render_time off
}