diff --git a/Home.md b/Home.md index c067ee6..27df993 100644 --- a/Home.md +++ b/Home.md @@ -50,6 +50,26 @@ fish: ```/usr/share/fish/vendor_completions.d/gospt.fish``` bash: ```/usr/share/bash-completions/completions/gospt``` +# Configuration +go here https://developer.spotify.com/dashboard/applications to make a spotify application. you will need a client ID and a client secret. Set your redirect uri like this: + +```http://localhost:8888/callback``` + +add your information to ~/.config/gospt/client.yml like this + +``` +client_id: "idgoeshere" +client_secret: "secretgoeshere" +port: "8888" +``` +if you dont want to store your secret in the file in plaintext you can use a command to retreive it: + +``` +client_secret_cmd: "secret spotify_secret" +``` + +you should have either client_secret or client_secret_cmd + # Usage ## TUI