From 4dcbc33e4aec8aa62c5b2cb52f11c3528dcc809b Mon Sep 17 00:00:00 2001 From: exu Date: Sat, 18 Nov 2023 14:30:40 +0100 Subject: [PATCH] Detect XWayland windows and change their borders --- arch-config/.config/sway/config | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch-config/.config/sway/config b/arch-config/.config/sway/config index fbc64745..b752be27 100644 --- a/arch-config/.config/sway/config +++ b/arch-config/.config/sway/config @@ -238,6 +238,13 @@ mode "resize" { } bindsym $mod+r mode "resize" +# detect XWayland windows and hightlight them differently +for_window [shell="xwayland"] title_format "[XWayland] %title" +for_window [shell="xwayland"] client.focused #592c2c #592c2c #eeeeee #592c2c +for_window [shell="xwayland"] client.unfocused #310202 #310202 #eeeeee #310202 +for_window [shell="xwayland"] client.focused_inactive #310202 #310202 #eeeeee #310202 +for_window [shell="xwayland"] client.urgent #a50909 #a50909 #eeeeee #a50909 + ############################################################ ##### Stuff from old config ##### ############################################################