aboutsummaryrefslogtreecommitdiff
path: root/tw/services/files/sway.conf
diff options
context:
space:
mode:
authorTimo Wilken2024-07-12 22:04:44 +0200
committerTimo Wilken2024-07-12 22:04:44 +0200
commit045e8e2a0c9922a0ca8d717efa507b295204607e (patch)
tree5c4c8a4b8fccf6f247bdf326810b73c3df3f17d2 /tw/services/files/sway.conf
parentf4d47c96946775c9cbcd93e21565ccf01d85c6a3 (diff)
Adapt sway window matching to Wayland
Get rid of old X11 matchers, including window class.
Diffstat (limited to 'tw/services/files/sway.conf')
-rw-r--r--tw/services/files/sway.conf25
1 files 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