diff --git a/README.md b/README.md index 5d37eb1..0c7c820 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Tmux gospt plugin +# Tmux gspot plugin -Plugin that shows current playing song with [gospt](https://git.asdf.cafe/abs3nt/gospt). +Plugin that shows current playing song with [gspot](https://git.asdf.cafe/abs3nt/gspot). ![Screenshot](https://user-images.githubusercontent.com/86447830/213586650-1a1d67c6-c029-4724-b8c2-f027deb16bb4.png) @@ -16,7 +16,7 @@ set -g status-right '#{now_playing}' Add plugin to the list of TPM plugins: ```tmux.conf -set -g @plugin 'abs3ntdev/tmux-gospt' +set -g @plugin 'abs3ntdev/tmux-gspot' ``` Press prefix + I to install it. @@ -26,7 +26,7 @@ Press prefix + I to install it. Clone the repo: ```bash -$ git clone https://git.asdf.cafe/abs3nt/tmux-gospt ~/clone/path +$ git clone https://git.asdf.cafe/abs3nt/tmux-gspot ~/clone/path ``` Add this line to your .tmux.conf: diff --git a/scripts/get_now_playing.sh b/scripts/get_now_playing.sh index 13a6bfb..1c1f69c 100755 --- a/scripts/get_now_playing.sh +++ b/scripts/get_now_playing.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -song="$(gospt nowplaying)" +song="$(gspot nowplaying)" if [[ $song =~ ['⏸'] ]]; then