From 045e8e2a0c9922a0ca8d717efa507b295204607e Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 12 Jul 2024 22:04:44 +0200 Subject: Adapt sway window matching to Wayland Get rid of old X11 matchers, including window class. --- tw/services/files/sway.conf | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/tw/services/files/sway.conf b/tw/services/files/sway.conf index 498c8cff..353c8c6a 100644 --- a/tw/services/files/sway.conf +++ b/tw/services/files/sway.conf @@ -220,31 +220,10 @@ assign [class="^kontact$"] "$ws_messaging" #no_focus [window_role="^mutt$"] #no_focus [class="^evolution-initial$"] -## PlayOnLinux for_window [title="PlayOnLinux"] floating enable - -## Plasma/KDE: https://ryanlue.com/posts/2019-06-13-kde-i3 -# Don’t treat Plasma pop-ups as full-sized windows -for_window [class="plasmashell"] floating enable -# Don’t spawn an empty window for the Plasma Desktop -for_window [title="Desktop — Plasma"] move scratchpad -# Don’t let notifications and non-interactive pop-up windows steal focus -#no_focus [class="plasmashell" window_type="on_screen_display"] -# https://github.com/heckelson/i3-and-kde-plasma -# Move notifications to top-right corner. -#for_window [class="plasmashell" window_type="notification"] move up 400, move right 750, no_focus -# Notifications appear in the centre of the screen. According to -# https://old.reddit.com/r/i3wm/comments/bw1yfs/kde_notifications_appearing_in_the_centre_of/, -# setting notifications to appear in the top-left corner gets placement right. -no_focus [class="plasmashell" window_type="notification"] - -for_window [class="^Pyneedle$"] floating enable -for_window [instance="^emacs-initial$"] floating enable -for_window [class="^Spotify$"] move container to workspace "$ws_music" -for_window [class="^Pidgin$"] move container to workspace "$ws_messaging" -for_window [title="^aerc$"] move container to workspace "$ws_messaging" +for_window [title="^aerc$"] move container to workspace "$ws_messaging" # annoying pop-up from Bluetooth network manager -for_window [class="^.blueman-applet-real$"] kill +for_window [app_id="^.blueman-applet-real$"] kill # Zoom popups (e.g. "user has started sharing their screen") # "Normal" Zoom windows have titles other than a plain "zoom". for_window [class="^zoom$" title="^zoom$"] floating enable -- cgit v1.2.3