From f2c64faeecf602c024b81fcc3760981e36de45f4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 4 Jan 2019 13:47:33 +0100 Subject: toggle-music: devnull stdout of mpc toggle Signed-off-by: Florian Pritz --- toggle-music | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toggle-music') 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 -- cgit v1.2.3-24-g4f1b