1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-10-30 15:41:50 +08:00
dotfiles/.config/sway/conf.d/windows-rules

28 lines
783 B
Plaintext
Raw Normal View History

2024-05-25 14:23:42 +08:00
# vim: ft=swayconfig
# TODO: Clean this up
#set the variables
set {
$popup floating enable; sticky enable;
$float floating enable;
}
for_window {
[app_id="librewolf" title="^Picture-in-Picture$"] $popup
[app_id="exe$"] $float # Wayland wine app
[class="exe$"] $float # XWayland wine app
[instance="steamwebhelper"] $float
[title="Extension:*"] $float # Bitwarden passkey etc.
[window_role="pop-up,task_dialog,About"] $float
[window_type="dialog"] $float
[window_type="dropdown_menu"] $float
[window_type="menu"] $float
[window_type="notification"] $float
[window_type="popup_menu"] $float
[window_type="splash"] $float
[window_type="toolbar"] $float
[window_type="tooltip"] $float
[window_type="utility"] $float
[title="Wine System Tray"] floating enable; kill
}