mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-04 19:57:37 +00:00
feat(config): add hyprglass config, guard scrolloverview plugin, and fix fish alias path
This commit is contained in:
1 parent
bd6844e949
commit
c5ffbd29ab
3 files changed
+63
-22
No files matched your search
@@ -48,3 +48,42 @@
|
||||
-- column_width = 0.97,
|
||||
-- },
|
||||
-- })
|
||||
|
||||
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 = 1 },
|
||||
})
|
||||
|
||||
-- Layer surfaces: each call whitelists the namespace and configures it
|
||||
hg.layer("waybar", { 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
|
||||
|
||||
|
||||
Reference in new issue
Block a user