1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
|
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
### TAG ###
# workspaces
windowrule = workspace 1, tag:terminal
# workspace = 1, persistent:true
windowrule = workspace 2, tag:web
# workspace = 2, persistent:true
windowrule = workspace 3, tag:file
# workspace = 3, persistent:true
windowrule = workspace 4, tag:code
# workspace = 4, persistent:true
windowrule = workspace 5, tag:office
# workspace = 5, persistent:true
windowrule = workspace 6, tag:communication
# workspace = 6, persistent:true
windowrule = workspace 7, tag:media
# workspace = 7, persistent:true
windowrule = workspace 8, tag:games
# workspace = 8, persistent:true
windowrule = workspace 9, tag:system
# workspace = 9, persistent:true
windowrule = workspace 10, tag:misc
# workspace = 10, persistent:true
# content hints(content-type-v1)
windowrule = content game, tag:games
# windowrule = content media, tag:media-contents
# GUI Utils
windowrule = opacity 0.85 0.75, tag:gui-utils
windowrule = pin, tag:gui-utils
windowrule = size 53% 60%, tag:gui-utils
windowrule = move 46.5% 4.8%, tag:gui-utils
windowrule = animation slide right top, tag:gui-utils
# media contents
windowrule = float, tag:media-contents
windowrule = pin, tag:media-contents
windowrule = move 100%-w-$outer_gaps, tag:media-contents
windowrule = noinitialfocus, tag:media-contents
windowrule = noshadow, tag:media-contents
windowrule = keepaspectratio, tag:media-contents
windowrule = nodim, tag:media-contents
# It grabs our focus when it change video
windowrule = suppressevent activatefocus, tag:media-contents
# fake fullscreen
windowrule = fullscreenstate 0 2, tag:fakefullscreen
# Games
windowrule = fullscreen, tag:games
# Tearing (for better gaming performance)
windowrule = immediate, tag:games
# fh5
windowrule = suppressevent activatefocus, title:^(Forza Horizon 5)$
windowrule = suppressevent activatefocus, class:steam_app_1551360
windowrule = suppressevent activatefocus, tag:games
# time-sensitive app rules
windowrule = stayfocused, tag:time-sensitive
windowrule = pin, tag:time-sensitive
windowrule = dimaround, tag:time-sensitive
windowrule = center, tag:time-sensitive
windowrule = float, tag:time-sensitive
# popup
# windowrule = stayfocused, tag:popup
windowrule = dimaround, tag:popup
windowrule = center, tag:popup
windowrule = float, tag:popup
# cli util apps
windowrule = float, tag:cli-utils
windowrule = pin, tag:cli-utils
windowrule = dimaround, tag:cli-utils
# hidden
windowrule = movetoworkspacesilent, special:minimized, tag:hidden
### END TAG ###
# Group
# windowrule = group, ^virt-manager$
# Terminal applications
windowrule = tag +terminal, class:^(Alacritty|Xfce4-terminal|Kitty|$term|com.mitchellh.ghostty)$
# Web browsers
windowrule = tag +web, class:^($browser|Brave-browser|chromium|firefox|thorium|zen)$
# File managers
windowrule = tag +file, class:^($fileManager|Pcmanfm|thunar|qBittorrent|Caja)$
# Code editors
windowrule = tag +code, class:^(code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman|jetbrains-clion|.*\.zed\.Zed-.*)$
# Office applications
windowrule = tag +office, class:^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|org.gnome.Evince|ClickUp)$
# Communication apps
windowrule = tag +communication, class:^(discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$
# Media applications
windowrule = tag +media, class:^(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp|Blender|obs|zoom|Zoom|Pitivi|kdenlive|openshot|vlc|cider|Cider|shotwell|Shotwell|fr.handbrake.ghb|Spotify)$
# Games
windowrule = tag +games, class:^(Minecraft|Badlion|War|steam_proton|steam|csgo_linux64|cs2|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient|Lunar Client.*|zenlesszonezero.exe|moe.launcher.sleepy-launcher|org.vinegarhq.Sober|War Thunder.*|steam_app_.*)$
windowrule = tag +games, title:.*\.exe
windowrule = tag +games, title:^(War Thunder.*)$
windowrule = tag +games, content:game
# System/Settings applications
windowrule = tag +system, class:^(virt-manager|blueman-adapters|blueman-manager|GParted|Xdm-app|timeshift-gtk|com.nextcloud.desktopclient.nextcloud|gearlever|Lxappearance|Lxtask|Lxrandr|Arandr|System-config-printer.py|Pavucontrol|Exo-helper-1|Protonvpn|Xfce4-power-manager-settings|Mysql-workbench-bin|Grub-customizer|Nitrogen|archlinux-tweak-tool.py|pamac-manager|helvum|Vmware|btrfs-assistant|Bitwarden|wootility-lekker|nwg-look|com.github.wwmm.easyeffects|kvantummanager)$
# Miscellaneous applications
windowrule = tag +misc, class:^(os_server|Os_server)$
# floating applications
windowrule = float, class:^(zoom|sxiv|Sxiv|[Vv]iewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|BeeperTexts|electron|com.github.rafostar.Clapper|io.github.celluloid_player.Celluloid|qimgv)$
windowrule = float, title:^(Steam Settings|Sign in – Google accounts)$
# pin apps
windowrule = pin, title:^(zoom_linux_float_video_window)$
# specificly sized
# windowrule = size 40% 40%, class:^(alacritty-float)$
# Sticky applicationsp
# App that have menu on top for stayfocused, without this, menus will dissappear when you move ur mouse
windowrule = stayfocused, title:(menu window)
# GUI Utils applications
windowrule = tag +gui-utils, class:^(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|BeeperTexts)$
windowrule = animation slide right top, tag:gui-utils
# bitwarden chrome extension popup
windowrule = pin, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
windowrule = float, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
windowrule = stayfocused, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
# firefox
windowrule = float, title:^Extension
# for media contents
windowrule = tag +media-contents, class:^(blobdrop|dragon|dragon-drop)$
# PIP
windowrule = tag +media-contents, title:^(Picture-in-Picture)$
windowrule = size 25% 25%, title:^(Picture-in-Picture)$
# removes title/border
windowrule = tag +fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default)$
# Full screen applications
# time-sensitive app rules
windowrule = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent|hyprland-dialog|.*pinentry.*)$
windowrule = tag +popup, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Open Files|File Operation Progress|Library|File Upload|.*- Properties|Enter name of file to save to.*)$
windowrule = tag +popup, class:^(xdg-desktop-portal.*|.*.portal..*)$
windowrule = tag +popup, class:^thunar$, title:^Rename.*
windowrule = tag +popup, class:^zenity$, title:^Protontricks$
windowrule = tag +popup, class:^zen$, title:^Extension:.*
windowrule = dimaround, tag:time-sensitive
# rofi
# windowrule = float, class:^(Rofi)
# windowrule = pin, class:^(Rofi)
# windowrule = dimaround, class:^(Rofi)
# util apps
windowrule = tag +cli-utils, title:^(nmd|cliphist|pulsemixer|ranger|btop)$
windowrule = dimaround, tag:cli-utils
windowrule = stayfocused, title:^(btop)$
# windowrule = stayfocused, title:^(rofi - Command|rofi - Confirmation|rofi - ArchLinux (hyprland))
# No shadow for tiled window
windowrule = noshadow,floating:0
# no border for unfocused window
# windowrulev2 = noborder, focus:0
# windowrulev2 = noshadow, focus:0
# Opacity rules
# windowrule = opacity 0.89 override 0.89 override, .* set in decoration
# windowrule = opacity 0.95 0.90, class:.+
# windowrule = opacity 0.85 0.75, class:^code-oss$
# windowrule = opacity 0.85 0.75, class:^code$
# windowrule = opacity 0.85 0.75, class:^code-url-handler$
windowrule = opacity 0.85 0.75, class:^cursor-url-handler$
windowrule = opacity 0 0, title:^Myass$
windowrule = opacity 1.00 0.90, class:^TelegramDesktop$
windowrule = opacity 0.90 0.80, class:^Spotify$
windowrule = opacity 0.90 0.80, class:^Cider$
windowrule = opacity 0.90 0.80, class:^Brave-browser$
windowrule = opacity 0.90 0.80, class:^thunar$
windowrule = opacity 0.85 0.75, class:^discord$
windowrule = opacity 0.90 0.80, class:^Caja$
windowrule = opacity 0.80 0.70, class:^polkit-gnome-authentication-agent-1$
windowrule = opacity 0.80 0.70, title:^Open$
windowrule = opacity 0.8 0.5, title:^New Tab - Thorium$
# windowrule = ignorezero, title:Annotation - Zoom
# Full screen no idle
windowrule = idleinhibit fullscren, class:.*
# no blurs
windowrule = noblur, title:^(Annotation - Zoom)$
# Layer rules/blur
layerrule = blurpopups
layerrule = blur, rofi
layerrule = ignorezero, rofi
layerrule = dimaround, rofi
layerrule = animation popin 45%, rofi
layerrule = blur, quickshell::launcher.*
layerrule = ignorezero, quickshell::launcher.*
layerrule = dimaround, quickshell::launcher.*
layerrule = animation popin 45%, quickshell::launcher.*
layerrule = blur,notifications
layerrule = ignorezero,notifications
layerrule = blur,swaync-notification-window
layerrule = ignorezero,swaync-notification-window
layerrule = blur,swaync-control-center
layerrule = animation slide right,swaync-notification-window
layerrule = animation slide right,swaync-control-center
layerrule = ignorezero,swaync-control-center
layerrule = blur,logout_dialog
layerrule = blur, waybar
layerrule = ignorezero, waybar
layerrule = blur, quickshell::bar
layerrule = ignorezero, quickshell::bar
layerrule = blur, quickshell::CC
layerrule = ignorezero, quickshell::CC
layerrule = dimaround, quickshell::CC
layerrule = blur, syshud
layerrule = ignorezero, syshud
# layerrule = blur,$browser
layerrule = animation none, selection
layerrule = animation gnome 0%, mpvpaper
# Misc
# xwaylandvideobridge
windowrule = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrule = noanim, class:^(xwaylandvideobridge)$
windowrule = noinitialfocus, class:^(xwaylandvideobridge)$
windowrule = maxsize 1 1, class:^(xwaylandvideobridge)$
windowrule = noblur, class:^(xwaylandvideobridge)$
# Roblox join private server
windowrule = float, title:^(Join Friends)$ class:^(org.vinegarhq.Sober)$
# No transparency for fullscreen windows
windowrule = plugin:chromakey,fullscreen:0
# suppressevent
# Ignore maximize requests from apps. You'll probably like this.
# windowrule = suppressevent maximize, class:.*
windowrule = suppressevent activatefocus activate, class:Spotify
# Fix some dragging issues with XWayland
windowrule = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
# windowrule = rounding 0, floating:0, onworkspace:f[1]
# permissions
permission = /usr/bin/grim, screencopy, allow
permission = /usr/bin/hyprlock, screencopy, allow
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
permission = /var/cache/hyprpm/system/dynamic-cursors/dynamic-cursors.so, plugin, allow
permission = /var/cache/hyprpm/system/hyprscroller/hyprscroller.so, plugin, allow
permission = ^wooting-wooting-two-he-\(arm\)$, keyboard, allow
permission = ^power-button$, keyboard, allow
permission = ^video-bus$, keyboard, allow
permission = ^power-button-1$, keyboard, allow
permission = ^sleep-button$, keyboard, allow
# permission = ^wooting-wooting-two-he-\(arm\)$, keyboard, allow
permission = ^wooting-wooting-two-he-\(arm\)-system-control$, keyboard, allow
permission = ^wooting-wooting-two-he-\(arm\)-consumer-control$, keyboard, allow
permission = ^company--usb-device-$, keyboard, allow
permission = ^company--usb-device--keyboard$, keyboard, allow
permission = ^logitech-brio-consumer-control$, keyboard, allow
permission = ^hp-wmi-hotkeys$, keyboard, allow
permission = ^hl-virtual-keyboard$, keyboard, allow
permission = ^hl-virtual-keyboard-fcitx5$, keyboard, allow
permission = .*, keyboard, ask
|