Switched to bash for env.

Also removed unneeded width line.
This commit is contained in:
James Patrick 2019-06-09 12:44:33 -04:00
parent e3fd511512
commit 17205f3c3f

View File

@ -1,4 +1,4 @@
#! env zsh #!/usr/bin/env bash
STATUS="$(playerctl status)" STATUS="$(playerctl status)"
MSG="$(playerctl metadata --format '{{xesam:title}} - {{xesam:artist}}')" MSG="$(playerctl metadata --format '{{xesam:title}} - {{xesam:artist}}')"
@ -8,7 +8,7 @@ OPTIONS="玲 Back
 Stop"  Stop"
SELECTED="$( SELECTED="$(
rofi -dmenu -theme applet -i -width 15 -mesg "${MSG:-"No infomation"}" -p "${STATUS:-"Not Playing"}" --hide-scrollbar -line-padding 4 <<< $OPTIONS rofi -dmenu -theme applet -i -mesg "${MSG:-"No infomation"}" -p "${STATUS:-"Not Playing"}" --hide-scrollbar -line-padding 4 <<< $OPTIONS
)" )"
echo $SELECTED echo $SELECTED