diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-14 17:04:32 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-14 17:04:32 +0900 |
| commit | fe04e2025eff06fd0528bc05b6792d0b2e7dfdc1 (patch) | |
| tree | b005a2f0655f59de947a6b56c7a138735ca09968 | |
| parent | 744c954b0a3ae6c2e48b28850bcd38a30234eb35 (diff) | |
modified statusbar/sb-music
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-music | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/statusbar/sb-music b/ar/.local/bin/statusbar/sb-music index a82b86a..b0a911a 100755 --- a/ar/.local/bin/statusbar/sb-music +++ b/ar/.local/bin/statusbar/sb-music @@ -70,7 +70,7 @@ case $BLOCK_BUTTON in - Left click opens ncmpcpp - Middle click pauses/unpause - Scroll changes track" - notify-send "🎵 $(mpc current)" "⏭️ $(mpc queued)" + { [ -n "$(mpc current)" ] && [ -n "$(mpc queued)" ]; } && notify-send "🎵 $(mpc current)" "⏭️ $(mpc queued)" ;; 4) mpc prev | filter ;; # scroll up, previous 5) mpc next | filter ;; # scroll down, next |
