From 32501093c181ab2b5a5c2ad10bc22b2a2e32b1b9 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 22 Aug 2021 14:33:19 +0200 Subject: [PATCH] rofi-mediaplayer: fix focus Spotify --- bin/rofi-mediaplayer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rofi-mediaplayer b/bin/rofi-mediaplayer index 9ef2c80..ac63777 100755 --- a/bin/rofi-mediaplayer +++ b/bin/rofi-mediaplayer @@ -56,7 +56,7 @@ EOF 4) playerctl -p $mediaplayer stop ;; 5) playerctl -p $mediaplayer next ;; 6) i3-msg '[class="Pavucontrol"] focus' || i3-msg exec exec pavucontrol ;; - 8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;; + 7) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;; esac >&2 ;; esac