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

30 lines
933 B
Plaintext
Raw Normal View History

2024-05-25 14:23:42 +08:00
# vim: ft=swayconfig
set {
2024-05-27 08:13:32 +08:00
$sticky floating enable; sticky enable;
2024-05-25 14:23:42 +08:00
$float floating enable;
}
for_window {
2024-05-27 08:13:32 +08:00
[app_id="librewolf" title="^Picture-in-Picture$"] $sticky
2024-05-25 14:23:42 +08:00
[app_id="exe$"] $float # Wayland wine app
2024-06-11 11:22:52 +08:00
[app_id="org.strawberrymusicplayer.strawberry"] $float
2024-05-25 14:23:42 +08:00
[class="exe$"] $float # XWayland wine app
[instance="REAPER"] $float
[instance="steam_proton"] $float # proton wine app
2024-05-25 14:23:42 +08:00
[instance="steamwebhelper"] $float
[title="Extension:*"] $float # Bitwarden passkey etc.
2024-06-11 11:22:52 +08:00
[title="Write:*"] $float # Thunderbird write emails
2024-05-25 14:23:42 +08:00
[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
}