fix for dunst update

This commit is contained in:
Luke Smith
2019-04-02 19:20:26 -04:00
parent 72095821e9
commit fd57c4350b
15 changed files with 21 additions and 38 deletions

View File

@@ -7,8 +7,7 @@ filter() {
case $BLOCK_BUTTON in
1) mpc status | filter && setsid "$TERMINAL" -e ncmpcpp & ;; # right click, pause/unpause
2) mpc toggle | filter ;; # right click, pause/unpause
3) mpc status | filter && pgrep -x dunst >/dev/null && notify-send "<b>🎵 Music module:</b>
- Shows mpd song playing.
3) mpc status | filter && pgrep -x dunst >/dev/null && notify-send "🎵 Music module" "\- Shows mpd song playing.
- Italic when paused.
- Left click opens ncmpcpp.
- Middle click pauses.
@@ -16,4 +15,4 @@ case $BLOCK_BUTTON in
4) mpc prev | filter ;; # scroll up, previous
5) mpc next | filter ;; # scroll down, next
*) mpc status | filter ;;
esac
esac; exit