We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d6d71 commit 3f8655fCopy full SHA for 3f8655f
scripts/spr.sh
@@ -91,6 +91,11 @@ main() {
91
BACK_BUTTON=$(get_tmux_option "@dracula-spr-remote-back" "R")
92
NEXT_BUTTON=$(get_tmux_option "@dracula-spr-remote-next" "N")
93
94
+ if ! command -v spotify_player &> /dev/null
95
+ then
96
+ exit 1
97
+ fi
98
+
99
# Remote Access
100
if [[ "$REMOTE_ACCESS" == true ]]; then
101
remoteControl "$PLAY_PAUSE_BUTTON" "$BACK_BUTTON" "$NEXT_BUTTON"
0 commit comments