summaryrefslogtreecommitdiff
path: root/ar/.local/bin/statusbar
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.local/bin/statusbar')
-rwxr-xr-xar/.local/bin/statusbar/sb-music11
1 files changed, 4 insertions, 7 deletions
diff --git a/ar/.local/bin/statusbar/sb-music b/ar/.local/bin/statusbar/sb-music
index de29ef8..4fc751d 100755
--- a/ar/.local/bin/statusbar/sb-music
+++ b/ar/.local/bin/statusbar/sb-music
@@ -145,16 +145,13 @@ case $BLOCK_BUTTON in
3) # right click
{ [ -n "$(mpc current)" ] && [ -n "$(mpc queued)" ]; } && notify-send "🎵 $(mpc current)" "⏭ $(mpc queued)"
notify-send "🎵 Music module" "\- Shows mpd song playing and status
-- 🎵 if playing
-- ⏸ if paused
-- 🔂 if single on
-- 🔁 if repeat on
-- 🔀 if random on
- Left click opens ncmpcpp
- Middle click pauses/unpause
- Scroll changes track"
;;
-4) mpc prev ;; # scroll up, previous
-5) mpc next ;; # scroll down, next
+4) mpc prev ;;
+5) mpc next ;;
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
+9) playerctl prev ;;
+10) playerctl next ;;
esac