From 4067fd79fbf4ba9d60503cb60163390e5a2216b2 Mon Sep 17 00:00:00 2001 From: Alex Tharp Date: Wed, 26 Jan 2022 21:30:08 -0500 Subject: [PATCH] fix(mediactl.sh): previous --- home/atharp/.local/bin/mediactl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/atharp/.local/bin/mediactl.sh b/home/atharp/.local/bin/mediactl.sh index 8fcf5f9..db52627 100755 --- a/home/atharp/.local/bin/mediactl.sh +++ b/home/atharp/.local/bin/mediactl.sh @@ -10,7 +10,7 @@ else elif [ "$1" = "next" ] then dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next - elif [ "$2" = "prev" ] + elif [ "$1" = "prev" ] then dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous fi