Update 'Home'

abs3nt 2023-01-16 18:53:15 -08:00
parent dcfba40f40
commit 07082da5f6
1 changed files with 20 additions and 0 deletions

20
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