Switched to bash for env.
Also removed unneeded width line.
This commit is contained in:
parent
e3fd511512
commit
17205f3c3f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user