fix(hyprland): Don't center steam floating windows

This is important as most floating windows from steam are context menus.
This commit is contained in:
histalek 2024-06-29 12:01:49 +02:00
parent 7ec7f74269
commit c1fddab9a0
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE

View file

@ -16,6 +16,7 @@ windowrulev2 = workspace 16 silent,class:(^cinny$)
windowrulev2 = workspace 16 silent,class:(^Element$)
windowrulev2 = workspace 17 silent,class:(^discord$)
windowrulev2 = workspace 17 silent,class:(^com.discordapp.Discord$)
windowrulev2 = workspace 17 silent,class:(^vesktop$)
windowrulev2 = workspace 18,class:(^org.gnome.Calendar$)
windowrulev2 = workspace 21 silent,class:(^steam)
windowrulev2 = workspace 21 silent,initialclass:(^steam)
@ -25,7 +26,9 @@ windowrulev2 = workspace 22,class:(^looking-glass-client$)
# Center all floating windows, except those with an empty title
# e.g. Steam context menus otherwise would get centered
windowrulev2 = center,floating:1,title:(.+)
# windowrulev2 = center,floating:1,title:(.+)
windowrulev2 = center,floating:1,class:(^steam),title:(.+)
windowrulev2 = center,floating:1,initialclass:(^steam),title:(.+)
# supress 'maximize' event from all windows as this might 'hide' another window
# on the same workspace. Essentially the windows might take up more space than