This commit is contained in:
2026-07-04 10:55:48 +02:00
parent 223c3758bf
commit 03baa33bb8
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
mpd_status=$(playerctl --player=mpd status 2>/dev/null)
if [ "$mpd_status" == "Playing" ]; then
playerctl --player=mpd pause
else
playerctl --player=mpd play 2>/dev/null || playerctl --player=spotify play
fi