From 68059aea64b228ad2d253684bb2fbb92ace76ac0 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 2 Oct 2026 22:16:25 +0800 Subject: bump: hypr --- dot-config/hypr/plugins.lua | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'dot-config/hypr/plugins.lua') diff --git a/dot-config/hypr/plugins.lua b/dot-config/hypr/plugins.lua index d68617d3..99b4434b 100644 --- a/dot-config/hypr/plugins.lua +++ b/dot-config/hypr/plugins.lua @@ -136,3 +136,41 @@ hl.plugin.dynamic_cursors.shape_rule { shape = "clientside", mode = "none", } + + +if hl.plugin.hyprglass then + local hg = hl.plugin.hyprglass + + hg.config({ + default_theme = "dark", + default_preset = "clear", + tint_color = 0x8899aa22, + + brightness = 0.9, + dark = { brightness = 0.82 }, + light = { adaptive_boost = 0.5 }, + + layers = { enabled = true }, + }) + + -- Layer surfaces: each call whitelists the namespace and configures it + hg.layer("quickshell::bar", { preset = "subtle", mask_threshold = 0.05 }) + hg.layer("swaync") + hg.layer("quickshell:bezel", { preset = "ui", mask_threshold = 0.3 }) + hg.layer("debug-panel", { exclude = true }) + + -- Presets + hg.preset("clear", { + glass_opacity = 0.8, + blur_strength = 1.5, + dark = { brightness = 0.7 }, + light = { brightness = 1.2 }, + }) + + hg.preset("contrasted", { + inherits = "high_contrast", + contrast = 1.2, + adaptive_dim = 1.5, + dark = { tint_color = 0x02142aa9 }, + }) +end -- cgit v1.2.3