From c58bd142cbdaf50ecdbf3af488f98da2968ef56b Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Thu, 15 Oct 2026 14:28:18 -0400 Subject: [PATCH] chore(hyprland): add Altscape window switcher keybinds Block written by the Altscape omarchy plugin; only binds when the plugin's manifest exists. --- hyprland.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/hyprland.lua b/hyprland.lua index a748f42..cebba6e 100644 --- a/hyprland.lua +++ b/hyprland.lua @@ -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 <<<