update
This commit is contained in:
Executable
+7
@@ -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
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
mpc --host=/home/user/.config/mpd/socket toggle
|
||||
Reference in New Issue
Block a user