Skip to content

Commit 30419d8

Browse files
committed
refactor(window-rules): consolidate layer rules for quickshell and dms
* Combined multiple layer rules into regex patterns for clarity * Improved maintainability of window rules configuration
1 parent 4e2eb61 commit 30419d8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

home/dot_config/hypr/hyprland/window-rules.conf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,12 @@ layerrule = ignorezero, rofi
269269
layerrule = ignorealpha 0.57, rofi
270270

271271
# Utility layers
272-
layerrule = animation fade, hyprpicker
273-
layerrule = animation fade, logout_dialog
274-
layerrule = animation fade, selection
272+
layerrule = animation fade, ^(hyprpicker|logout_dialog|selection)
275273

276274
# Quickshell
277-
layerrule = blur, quickshell.*
278-
layerrule = ignorealpha 0.65, quickshell.*
279-
layerrule = blurpopups, quickshell.*
275+
layerrule = blur, ^(quickshell.*|dms.*)
276+
layerrule = ignorealpha 0.65, ^(quickshell.*|dms.*)
277+
layerrule = blurpopups, ^(quickshell.*|dms.*)
280278

281279
# ================================
282280
# WORKSPACE RULES

0 commit comments

Comments
 (0)