feat(config): add hyprglass config, guard scrolloverview plugin, and fix fish alias path

This commit is contained in:
Prad Nukala committed 2026-08-28 10:52:19 -04:00
1 parent bd6844e949
commit c5ffbd29ab
3 files changed
+63 -22

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
# Editors / file managers # Editors / file managers
alias e nvim alias e nvim
alias e.f 'cd ~/.local/share/chezmoi/dot_config/fish && yazi' alias e.f 'cd ~/.local/share/chezmoi/dot_config/fish && yazi'
alias e.h 'cd ~/.local/share/chezmoi/dot_config/herdr && yazi' alias e.h 'cd ~/.local/share/chezmoi/dot_config/hypr && yazi'
alias e.k 'yazi ~/.local/share/chezmoi/dot_config/kitty' alias e.k 'yazi ~/.local/share/chezmoi/dot_config/kitty'
alias e.n 'yazi ~/.local/share/chezmoi/dot_config/niri' alias e.n 'yazi ~/.local/share/chezmoi/dot_config/niri'
alias e.y 'yazi ~/.local/share/chezmoi/dot_config/yazi' alias e.y 'yazi ~/.local/share/chezmoi/dot_config/yazi'
+23 -21
View File
@@ -168,27 +168,29 @@ o.bind("SUPER + P", "Clipboard manager", "omarchy-shell shell toggle omarchy.cli
-- ─── ScrollOverview plugin ────────────────────────────────────────────────── -- ─── ScrollOverview plugin ──────────────────────────────────────────────────
hl.config({ if hl.plugin.scrolloverview then
plugin = { hl.config({
scrolloverview = { plugin = {
gesture_distance = 300, -- how far is the "max" for the gesture scrolloverview = {
scale = 0.5, -- preferred overview scale gesture_distance = 300, -- how far is the "max" for the gesture
workspace_gap = 100, scale = 0.5, -- preferred overview scale
layout = "vertical", -- vertical or horizontal workspace_gap = 100,
wallpaper = 2, -- 0: global only, 1: per-workspace only, 2: both layout = "vertical", -- vertical or horizontal
blur = true, -- blur only the main overview wallpaper wallpaper = 2, -- 0: global only, 1: per-workspace only, 2: both
shadow = { blur = true, -- blur only the main overview wallpaper
enabled = true, shadow = {
range = 50, enabled = true,
range = 50,
},
}, },
}, },
}, })
})
-- Omarchy puts two binds on ALT + TAB: focus next window, and reveal the -- Omarchy puts two binds on ALT + TAB: focus next window, and reveal the
-- active window on top. Both go, and the overview takes the key. Written with -- active window on top. Both go, and the overview takes the key. Written with
-- o.bind and a description, so it shows up in the keybindings menu. -- o.bind and a description, so it shows up in the keybindings menu.
hl.unbind("ALT + TAB") hl.unbind("ALT + TAB")
o.bind("ALT + TAB", "Toggle overview", function() o.bind("ALT + TAB", "Toggle overview", function()
hl.plugin.scrolloverview.overview("toggle all") hl.plugin.scrolloverview.overview("toggle all")
end) end)
end
+39
View File
@@ -48,3 +48,42 @@
-- column_width = 0.97, -- 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