Add Panama commands to the launcher

This commit is contained in:
Gabriel Brown
2026-08-18 07:31:11 -04:00
parent 9c574f9eb7
commit b28edcd01f
28 changed files with 681 additions and 2 deletions
+11 -1
View File
@@ -100,8 +100,18 @@ case "${1:-}" in
microphone) shift; adjust_microphone "$@" ;;
brightness) shift; adjust_brightness "$@" ;;
media) shift; media_action "$@" ;;
message)
shift
kind="${1:-}"
[[ -n $kind && $# -ge 2 ]] || {
printf 'Usage: panama-osd message ICON LABEL\n' >&2
exit 2
}
shift
show_message "$kind" "$*"
;;
*)
printf 'Usage: panama-osd volume|microphone|brightness|media ACTION [step]\n' >&2
printf 'Usage: panama-osd volume|microphone|brightness|media|message ACTION [value]\n' >&2
exit 2
;;
esac