window is no longer hoog
This commit is contained in:
parent
a8b0530044
commit
3b27189081
@ -33,11 +33,11 @@ done
|
||||
|
||||
[ "${#names[@]}" -lt 10 ] && l=${#names[@]} || l=10
|
||||
|
||||
choice=`echo "${names[*]}" | rofi -i -dmenu -format i -mesg "<small>$nowPlaying</small>" -l $l -width -$width -location 7 -p "Radio" -no-custom -select $last`
|
||||
choice=`echo "${names[*]}" | rofi -i -dmenu -format i -mesg "<small>$nowPlaying</small>" -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
|
||||
|
Loading…
Reference in New Issue
Block a user