summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-01-04 13:47:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2019-01-04 13:47:33 +0100
commitf2c64faeecf602c024b81fcc3760981e36de45f4 (patch)
tree5b049f4532a3a9738a9d6e0c95ca28e1bdaec725
parent599efaf05fcf10f460cfa1dc706b8461839a094a (diff)
downloadbin-f2c64faeecf602c024b81fcc3760981e36de45f4.tar.gz
bin-f2c64faeecf602c024b81fcc3760981e36de45f4.tar.xz
toggle-music: devnull stdout of mpc toggle
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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