mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-12-06 02:53:38 -08:00
fix waybar
This commit is contained in:
@@ -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