Retune opacity for Hyprland 0.56's corrected alpha premultiplication

Hyprland 0.56 fixed premultiplication in the color-management shader
(hyprwm/Hyprland#14403), so the same opacity values now render visibly
more transparent than on 0.55. Raise each value to its perceptual
equivalent (a^(1/2.2)) to restore the previous look.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-20 21:22:16 -07:00
co-authored by Claude Fable 5
parent f4a7b30366
commit 503388b4d6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
-- Define terminal tag to style them uniformly.
o.window("(Alacritty|kitty|com.mitchellh.ghostty|foot|wezterm)", { tag = "+terminal" })
o.window({ tag = "terminal" }, { tag = "-default-opacity", opacity = "0.985 0.95" })
o.window({ tag = "terminal" }, { tag = "-default-opacity", opacity = "0.985 0.96" })