From 3b27189081a29ca22bd5a28a3726e56db4bd2f01 Mon Sep 17 00:00:00 2001 From: whut Date: Thu, 24 Mar 2022 22:03:31 -0500 Subject: [PATCH] window is no longer hoog --- tooner.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tooner.sh b/tooner.sh index 4ecee34..fc3fd50 100755 --- a/tooner.sh +++ b/tooner.sh @@ -33,11 +33,11 @@ done [ "${#names[@]}" -lt 10 ] && l=${#names[@]} || l=10 -choice=`echo "${names[*]}" | rofi -i -dmenu -format i -mesg "$nowPlaying" -l $l -width -$width -location 7 -p "Radio" -no-custom -select $last` +choice=`echo "${names[*]}" | rofi -i -dmenu -format i -mesg "$nowPlaying" -l $l -width -$width -location 7 -p "Radio" -no-custom -select $last -theme-str "#window { width: 50ch; }"` if [ ! -z "$choice" ]; then - mpc clear - mpc add ${urls[choice]} - mpc play + mpc clear > /dev/null + mpc add ${urls[choice]} > /dev/null + mpc play > /dev/null echo ${names[choice]} > $lastFile fi