diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-10-02 22:16:25 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-10-02 22:16:25 +0800 |
| commit | 68059aea64b228ad2d253684bb2fbb92ace76ac0 (patch) | |
| tree | 9fc5dab249d4a1de62ad4abbbeb8b661d640e2ce /dot-config/hypr/plugins.lua | |
| parent | a113ee061e823ef1b24d09195773703ed5c0ebf8 (diff) | |
bump: hypr
Diffstat (limited to 'dot-config/hypr/plugins.lua')
| -rw-r--r-- | dot-config/hypr/plugins.lua | 38 |
1 files changed, 38 insertions, 0 deletions
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 |
