diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-10-08 04:27:32 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-10-08 04:27:32 -0500 |
| commit | 91419d70af0ca78be1677626e31942cbc411df43 (patch) | |
| tree | 3f8a16c8c55eda9731e779cfb5fa8cd9f34535c2 /src/title.sh | |
| parent | a260faa5cc35cb6fd656e49a6235a147d80d863f (diff) | |
renamed en to enable in title.sh
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 |
