Detect XWayland windows and change their borders

This commit is contained in:
exu 2023-11-18 14:30:40 +01:00
parent 19fbc11007
commit 4dcbc33e4a

View File

@ -238,6 +238,13 @@ mode "resize" {
} }
bindsym $mod+r 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 ##### ##### Stuff from old config #####
############################################################ ############################################################