소스 검색

window is no longer hoog

master
whut 2 년 전
부모
커밋
3b27189081
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      tooner.sh

+ 4
- 4
tooner.sh 파일 보기

@@ -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

불러오는 중...
취소
저장