summaryrefslogtreecommitdiffstats
path: root/toggle-music
diff options
context:
space:
mode:
Diffstat (limited to 'toggle-music')
-rwxr-xr-xtoggle-music4
1 files changed, 2 insertions, 2 deletions
diff --git a/toggle-music b/toggle-music
index c491b76..3153ea0 100755
--- a/toggle-music
+++ b/toggle-music
@@ -1,8 +1,8 @@
#!/bin/bash
if pgrep spotify &>/dev/null; then
- mpc pause
+ mpc pause >/dev/null
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
else
- mpc toggle
+ mpc toggle >/dev/null
fi