Files
omarchycn/themes/kanagawa/hyprland.lua
T
David Heinemeier HanssonandClaude Fable 5 503388b4d6 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>
2026-07-20 21:22:16 -07:00

19 lines
335 B
Lua

local active_border_color = "rgb(dcd7ba)"
hl.config({
general = {
col = {
active_border = active_border_color,
},
},
group = {
col = {
border_active = active_border_color,
},
},
})
-- Kanagawa backdrop is too strong for default opacity.
o.window({ tag = "terminal" }, { opacity = "0.99 0.985" })