diff options
author | Florian Pritz <bluewind@xinu.at> | 2019-01-04 13:47:33 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2019-01-04 13:47:33 +0100 |
commit | f2c64faeecf602c024b81fcc3760981e36de45f4 (patch) | |
tree | 5b049f4532a3a9738a9d6e0c95ca28e1bdaec725 /toggle-music | |
parent | 599efaf05fcf10f460cfa1dc706b8461839a094a (diff) | |
download | bin-f2c64faeecf602c024b81fcc3760981e36de45f4.tar.gz bin-f2c64faeecf602c024b81fcc3760981e36de45f4.tar.xz |
toggle-music: devnull stdout of mpc toggle
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'toggle-music')
-rwxr-xr-x | toggle-music | 4 |
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 |