Skip to content

Commit

Permalink
don't show song in the bar if it's paused
Browse files Browse the repository at this point in the history
  • Loading branch information
doza-daniel committed Jan 30, 2019
1 parent 3e57298 commit 1b18081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .scripts/statusbar/mpc
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
#!/bin/bash

mpc -f '%artist% - %title%' | sed 1q
mpc -f '%artist% - %title%' | grep -B 1 playing | sed 1q

case $BLOCK_BUTTON in
1) "$TERMINAL" -e ncmpcpp ;;
Expand Down

0 comments on commit 1b18081

Please sign in to comment.