Fix opacity issues by using a tag to apply the default opacity that can be removed

Fixes #4168
This commit is contained in:
David Heinemeier Hansson committed 2026-02-01 16:30:27 +01:00
1 parent 69dbee75cd
commit 23b74c6212
8 files changed
+17 -5

No files matched your search

+6 -3
View File
@@ -2,11 +2,14 @@
# Hyprland 0.53+ syntax
windowrule = suppress_event maximize, match:class .*
# Just dash of opacity by default
windowrule = opacity 0.97 0.9, match:class .*
# Tag all windows for default opacity (apps can override with -default-opacity tag)
windowrule = tag +default-opacity, match:class .*
# Fix some dragging issues with XWayland
windowrule = no_focus on, match:class ^$, match:title ^$, match:xwayland 1, match:float 1, match:fullscreen 0, match:pin 0
# App-specific tweaks
# App-specific tweaks (may remove default-opacity tag)
source = ~/.local/share/omarchy/default/hypr/apps.conf
# Apply default opacity after apps have had a chance to opt out
windowrule = opacity 0.97 0.9, match:tag default-opacity