Skip to content

Commit

Permalink
fix: syntax improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
janoamaral committed Jan 12, 2025
1 parent e9c1e23 commit 0e0f27b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/music-tmux-statusbar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ elif command -v nowplaying-cli >/dev/null; then

# fix for the bug in nowplaying-cli.
# See https://github.com/janoamaral/tokyo-night-tmux/issues/107#issuecomment-2576211115
if [[ "$OSTYPE" == "darwin"* ]]; then
if [ "$STATUS" = "playing" ]; then
if [[ $OSTYPE == "darwin"* ]]; then
if [ $STATUS == "playing" ]; then
echo "$POSITION" >/tmp/last_position
fi

Expand Down

0 comments on commit 0e0f27b

Please sign in to comment.