From a195da75d973cc36ea8b93dc3dacab71b829ce64 Mon Sep 17 00:00:00 2001 From: histalek Date: Mon, 20 Mar 2023 16:58:27 +0100 Subject: [PATCH] sway: Update window rules and assigns --- .config/sway/conf.d/2-assigns | 1 + .config/sway/conf.d/window-rules | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/sway/conf.d/2-assigns b/.config/sway/conf.d/2-assigns index fef9817..4711b02 100644 --- a/.config/sway/conf.d/2-assigns +++ b/.config/sway/conf.d/2-assigns @@ -20,6 +20,7 @@ assign [class="^TeamSpeak"] $wsF6 assign [class="^Steam"] $wsF11 assign [class="^steam_app_"] $wsF12 +assign [title="Default - Wine desktop"] $wsF12 # ============================= # # Assign workspaces to displays # diff --git a/.config/sway/conf.d/window-rules b/.config/sway/conf.d/window-rules index d7ff556..2dce581 100644 --- a/.config/sway/conf.d/window-rules +++ b/.config/sway/conf.d/window-rules @@ -6,7 +6,7 @@ for_window { # Mark all windows running under XWayland as such [shell="xwayland"] title_format "%title [XWayland]" - # window rules for 'special' types of windows + # window rules for 'special' types of windows (in x11 territory) [window_role="pop-up"] floating enable [window_role="bubble"] floating enable [window_role="dialog"] floating enable @@ -16,6 +16,9 @@ for_window { [window_type="menu"] floating enable [instance="update_installer"] floating enable + # window rules for 'special' types of windows; in wayland we can only go by window title for now + [title="Sharing Indicator"] 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