diff options
Diffstat (limited to 'src/title.sh')
| -rwxr-xr-x | src/title.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/title.sh b/src/title.sh index e83d91c..c6e9454 100755 --- a/src/title.sh +++ b/src/title.sh @@ -8,8 +8,8 @@ echo "$status" | grep Paused > /dev/null && output="♫⏸️ " echo "$status" | grep Stopped > /dev/null && output="♫⏹️ " # set to 1 to enable song title and artist name -en=0 -if [ $en = 1 ]; then +enable=0 +if [ $enable = 1 ]; then title="$(playerctl metadata title)" artist="$(playerctl metadata artist)" if [ "$artist" ]; then |
