Skip to content

Commit

Permalink
Minor Fix (Bar)
Browse files Browse the repository at this point in the history
* Fixes v2.2.10

* Fixed syntax error from bin/bar/status #10 

Thanks to @ArchieSW for the fix
  • Loading branch information
Deathemonic authored Jan 2, 2023
2 parents a1585c6 + 2c41206 commit b638bf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sweetconfigs-xorg/bin/bar/status
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ fi
if [[ "$1" == "scroll-music" ]]; then
echo $player_status
else
if [ $player_status = "Stopped" ]; then
if [ "$player_status" == "Stopped" ]; then
echo "Offline"
elif [ $player_status = "Paused" ]; then
elif [ "$player_status" == "Paused" ]; then
update_hooks "$bar_pid" 2
playerctl -p $players metadata --format '{{ artist }} - {{ title }}'
elif [ $player_status = "Offline" ]; then
elif [ "$player_status" == "Offline" ]; then
echo $player_status
else
update_hooks "$bar_pid" 1
Expand Down

0 comments on commit b638bf1

Please sign in to comment.