mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-04 03:47:36 +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
@@ -168,27 +168,29 @@ o.bind("SUPER + P", "Clipboard manager", "omarchy-shell shell toggle omarchy.cli
|
||||
|
||||
-- ─── ScrollOverview plugin ──────────────────────────────────────────────────
|
||||
|
||||
hl.config({
|
||||
plugin = {
|
||||
scrolloverview = {
|
||||
gesture_distance = 300, -- how far is the "max" for the gesture
|
||||
scale = 0.5, -- preferred overview scale
|
||||
workspace_gap = 100,
|
||||
layout = "vertical", -- vertical or horizontal
|
||||
wallpaper = 2, -- 0: global only, 1: per-workspace only, 2: both
|
||||
blur = true, -- blur only the main overview wallpaper
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 50,
|
||||
if hl.plugin.scrolloverview then
|
||||
hl.config({
|
||||
plugin = {
|
||||
scrolloverview = {
|
||||
gesture_distance = 300, -- how far is the "max" for the gesture
|
||||
scale = 0.5, -- preferred overview scale
|
||||
workspace_gap = 100,
|
||||
layout = "vertical", -- vertical or horizontal
|
||||
wallpaper = 2, -- 0: global only, 1: per-workspace only, 2: both
|
||||
blur = true, -- blur only the main overview wallpaper
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 50,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
-- 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
|
||||
-- o.bind and a description, so it shows up in the keybindings menu.
|
||||
hl.unbind("ALT + TAB")
|
||||
o.bind("ALT + TAB", "Toggle overview", function()
|
||||
hl.plugin.scrolloverview.overview("toggle all")
|
||||
end)
|
||||
-- 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
|
||||
-- o.bind and a description, so it shows up in the keybindings menu.
|
||||
hl.unbind("ALT + TAB")
|
||||
o.bind("ALT + TAB", "Toggle overview", function()
|
||||
hl.plugin.scrolloverview.overview("toggle all")
|
||||
end)
|
||||
end
|
||||
Reference in new issue
Block a user