feat: add app launcher

This commit is contained in:
2026-05-03 21:42:30 +02:00
parent 60757ee336
commit 7bdf23001f
18 changed files with 665 additions and 57 deletions

View File

@@ -21,7 +21,12 @@ usage() {
cat <<'EOF' >&2
usage: sims-cli <command> [args]
finder open window finder
apps open application launcher
notmuch-refresh refresh unread mail count
screenrec menu open screenrec menu (auto-detects state)
screenrec start-monitor start recording the focused monitor
screenrec start-region start recording a slurp-selected region
screenrec stop stop active recording
list list registered actions
EOF
exit 2
@@ -29,7 +34,16 @@ EOF
case "${1:-}" in
finder) invoke open-finder ;;
apps) invoke open-app-launcher ;;
notmuch-refresh) invoke refresh-notmuch ;;
screenrec)
case "${2:-}" in
menu) invoke open-screenrec-menu ;;
start-monitor) invoke screenrec-start-monitor ;;
start-region) invoke screenrec-start-region ;;
stop) invoke screenrec-stop ;;
*) usage ;;
esac ;;
list) list_actions ;;
*) usage ;;
esac