Files
skygqts/skygqts.nu
T
2026-09-14 13:19:41 -04:00

25 lines
495 B
Nu
Executable File

#!/usr/bin/env nu
const REPO_ROOT = path self | path dirname
# Quickshell SKYG apps
def "main" [] {
help main
}
# Run the app carousel
def "main carousel" [
path_to_config: string # path to JSON config
] {
$env.SKYG_APP_CAROUSEL = $path_to_config
qs -p ($REPO_ROOT | path join "app-carousel")
}
def "main overview" [] {
qs -p ($REPO_ROOT | path join "overview")
}
def "main overview toggle" [] {
qs -p ($REPO_ROOT | path join "overview") ipc call overview toggle
}