Vendor the command set the menu and shell depend on

This commit is contained in:
SirBlob committed 2026-09-19 23:57:12 -04:00
1 parent 9501f2bb4d
commit c5434026a8
179 files changed
+12414 -54

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
# blob:summary=Cycle to the next media source and transfer playback when the current source is playing
# blob:args=[next|previous]
# blob:examples=blob audio source switch | blob-audio-source-switch previous
direction="${1:-next}"
case "$direction" in
next)
blob-shell media sourceSwitch
;;
previous)
blob-shell media sourceSwitchPrevious
;;
*)
echo "Usage: blob-audio-source-switch [next|previous]" >&2
exit 1
;;
esac