chore(hyprland): add Altscape window switcher keybinds
Block written by the Altscape omarchy plugin; only binds when the plugin's manifest exists.
This commit is contained in:
1 parent
95c8d15814
commit
c58bd142cb
1 file changed
+19
@@ -104,3 +104,22 @@ o.window(
|
||||
move = { "10", "(monitor_h*0.7-10)" },
|
||||
}
|
||||
)
|
||||
|
||||
-- >>> altscape >>>
|
||||
-- Window switcher keybind, managed by Altscape (change it in its settings).
|
||||
do
|
||||
local altscape_manifest = io.open("/home/prad/.config/omarchy/plugins/io.github.qempexe.altscape/manifest.json", "r")
|
||||
if altscape_manifest then
|
||||
altscape_manifest:close()
|
||||
hl.unbind("ALT + TAB")
|
||||
hl.unbind("ALT + SHIFT + TAB")
|
||||
o.bind("ALT + TAB", "Altscape: next window", "omarchy-shell shell summon io.github.qempexe.altscape next")
|
||||
o.bind("ALT + SHIFT + TAB", "Altscape: previous window", "omarchy-shell shell summon io.github.qempexe.altscape prev")
|
||||
-- Letting go of the modifier picks the selected window.
|
||||
o.bind("ALT + ALT_L", "Altscape: switch on release", "omarchy-shell shell summon io.github.qempexe.altscape release", { release = true })
|
||||
o.bind("ALT + ALT_R", "Altscape: switch on release", "omarchy-shell shell summon io.github.qempexe.altscape release", { release = true })
|
||||
-- Opens the settings (again to close).
|
||||
o.bind("SUPER + ALT + SHIFT + S", "Altscape settings", "omarchy-shell io.github.qempexe.altscape settings")
|
||||
end
|
||||
end
|
||||
-- <<< altscape <<<
|
||||
Reference in new issue
Block a user