Diff
1diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
2index a8e312a6235f7ede804a26dfe9308de9e030ab80..835521a544f249352e8d088bbccb3930687ba04a 100644
3--- a/dot_config/hypr/hyprland.conf.tmpl
4+++ b/dot_config/hypr/hyprland.conf.tmpl
5@@ -295,19 +295,70 @@ bind = $mod, Print, exec, pyazo -d
6 # https://wiki.hyprland.org/Configuring/Workspace-Rules/
7
8 # https://wiki.hyprland.org/Configuring/Window-Rules/
9-windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
10-windowrule = rounding 0, floating:0, onworkspace:w[tv1]
11-windowrule = bordersize 0, floating:0, onworkspace:f[1]
12-windowrule = rounding 0, floating:0, onworkspace:f[1]
13+windowrule {
14+ name = windowrule-1
15+ border_size = 0
16+ rounding = 0
17+ match:float = 0
18+ match:workspace = w[tv1]
19+}
20+
21+windowrule {
22+ name = windowrule-2
23+ border_size = 0
24+ rounding = 0
25+ match:float = 0
26+ match:workspace = f[1]
27+}
28+
29
30 # Ignore maximize requests from apps. You'll probably like this.
31-windowrule = suppressevent maximize, class:.*
32+windowrule {
33+ name = windowrule-3
34+ suppress_event = maximize
35+ match:class = .*
36+}
37+
38 # Fix some dragging issues with XWayland
39-windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
40-
41-windowrule = tile,title:(Ubisoft Connect)
42-windowrule = workspace special silent,title:(Wine System Tray)
43-windowrule = fullscreen,class:(steam_app*)
44-windowrule = workspace [10], class:(steam)
45-windowrule = workspace [11], class:(deezer-enhanced)
46-windowrule = workspace [11], class:(org.telegram.desktop)
47+windowrule {
48+ name = windowrule-4
49+ no_focus = on
50+ match:class = ^$
51+ match:title = ^$
52+ match:xwayland = 1
53+ match:float = 1
54+ match:fullscreen = 0
55+ match:pin = 0
56+}
57+
58+
59+windowrule {
60+ name = windowrule-5
61+ tile = on
62+ match:title = (Ubisoft Connect)
63+}
64+
65+windowrule {
66+ name = windowrule-6
67+ workspace = special silent
68+ match:title = (Wine System Tray)
69+}
70+
71+windowrule {
72+ name = windowrule-7
73+ fullscreen = on
74+ match:class = (steam_app*)
75+}
76+
77+windowrule {
78+ name = windowrule-8
79+ workspace = [10]
80+ match:class = (steam)
81+}
82+
83+windowrule {
84+ name = windowrule-9
85+ workspace = [11]
86+ match:class = (org.telegram.desktop)
87+}
88+