scripts

scripts
git clone git://git.wimdupont.com/scripts.git
Log | Files | Refs | README | LICENSE

commit 2a21068cf6d4cdef67e0a1f0317818735d361b18
parent e62f90f94bd13077682d2ad3d5daed4752a3ce3a
Author: Wim Dupont <wim@wimdupont.com>
Date:   Mon,  8 Jan 2024 18:20:50 +0100

fix radio error message

Diffstat:
Mbin/radio | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/radio b/bin/radio @@ -21,8 +21,9 @@ do if [[ "${name}" == "${stationName}" ]]; then station=$(echo "$i" | cut -f2 -d ';') - exec urxvt -e mpv --no-video "${station}" - break + urxvt -e mpv --no-video "${station}" + exit 0; fi - echo "No valid station given" done + +notify-send "Radio" "No valid station given"