diff options
Diffstat (limited to 'dmenu-audio')
-rwxr-xr-x | dmenu-audio | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/dmenu-audio b/dmenu-audio index 7600422..85bed40 100755 --- a/dmenu-audio +++ b/dmenu-audio @@ -1,12 +1,12 @@ #!/usr/bin/env bash -choices=" Connect BT headset\n Disconnect BT headset\n Select Output\n Select Input\n Play Music\n Pause/Play Music\nExit" +choices=" Connect BT headset\n Disconnect BT headset\n Select Output\n Select Input\n Playlists\n Pause/Play Music\n Radio\n✘ Exit" -result=$(echo -e $choices | dmenu -bw 4 -c -i -l 7 -p "Audio") +result=$(echo -e $choices | dmenu -bw 4 -c -i -l 8 -p "Audio") case $result in - " Connect BT headset") + " Connect BT headset") headset="E8:07:BF:3C:5F:65" bluetoothctl connect $headset &> /dev/null ;; @@ -16,7 +16,7 @@ case $result in bluetoothctl disconnect $headset &> /dev/null ;; - " Select Input") + " Select Input") choices=$(pactl list short sources | cut -f2) choices="$choices Exit" @@ -29,7 +29,7 @@ case $result in ;; - " Select Output") + " Select Output") choices=$(pactl list short sinks | cut -f2) choices="$choices Exit" @@ -42,7 +42,7 @@ case $result in exit 0 ;; - " Play Music") + " Playlists") dmenu-playmusic exit 0 ;; @@ -51,6 +51,11 @@ case $result in playerctl play-pause exit 0 ;; + + " Radio") + st -e pyradio + exit 0 + ;; *) exit 0 |