https://github.com/dadav/spotify-cli
https://github.com/dadav/spotify-cli
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dadav/spotify-cli
- Owner: dadav
- Created: 2019-05-30T12:49:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T14:23:07.000Z (about 6 years ago)
- Last Synced: 2025-02-06T16:57:55.857Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spotify-cli
## usage
```bash
# play
spotify-cli --play
# next / prev
spotify-cli --next
spotify-cli --previous
# meta
spotify-cli --meta --meta-format "{artist} - {title}"
# open
spotify-cli --open
```
### polybar
you could also use it in your polybar like this
```ini
[module/spotify]
type = custom/script
label = "%{A1:spotify-cli --prev:} %{A}%{A1:spotify-cli --toggle:} %{A}%{A1:spotify-cli --next:} %{A} %output%"
exec = spotify-cli --meta
exec-if = pgrep -x spotify
interval = 5
```