mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-11-10 04:46:04 -08:00
fix waybar
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -7,7 +7,7 @@ if [ -z "$PLAYER" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
STATUS="$(playerctl -p "$PLAYER" status 2>/dev/null)"
|
||||
STATUS="$(playerctl -sp "$PLAYER" status)"
|
||||
|
||||
case "$STATUS" in "" | "Stopped")
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user