summaryrefslogtreecommitdiff
path: root/dot-config/hypr/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/hypr/plugins.lua')
-rw-r--r--dot-config/hypr/plugins.lua38
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