This commit is contained in:
ari committed 2026-09-23 11:56:03 -04:00
1 parent 2cbe25d38b
commit 1a6e5af692
7 files changed
+831

No files matched your search

+28
View File
@@ -42,3 +42,31 @@ def "main workspace-manager toggle" [] {
def "main workspace-manager goto" [] {
ws-ipc "goTo"
}
const WC_PATH = $REPO_ROOT | path join "window-carousel"
# Send an IPC call to the running window carousel
def wc-ipc [fn: string] {
qs ipc -p $WC_PATH call windows $fn
}
# Run the window carousel
def "main window-carousel" [
--daemon (-d) # detach from the terminal
] {
if $daemon {
qs -d -n -p $WC_PATH
} else {
qs -n -p $WC_PATH
}
}
# Toggle the window carousel
def "main window-carousel toggle" [] {
wc-ipc "toggle"
}
# Open the window carousel
def "main window-carousel open" [] {
wc-ipc "open"
}