https://github.com/mt-inside/dbus-spotify
https://github.com/mt-inside/dbus-spotify
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mt-inside/dbus-spotify
- Owner: mt-inside
- License: apache-2.0
- Created: 2021-03-07T04:04:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-09T20:07:21.000Z (about 4 years ago)
- Last Synced: 2025-10-28T01:37:40.087Z (8 months ago)
- Language: Go
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dbus-spotify
Simple programme that prints info from Spotify over DBus.
[](https://github.com/mt-inside/dbus-spotify/actions/workflows/checks.yaml)
[](https://github.com/mt-inside/dbus-spotify/issues)
[](https://pkg.go.dev/github.com/mt-inside/dbus-spotify)
## Setup
* Download [`dbus-spotity`](https://github.com/mt-inside/dbus-spotify/releases/latest/download/dbus-spotify_linux_amd64), `chmod 0755`, and enjoy!
* Or, with the _go_ toolchain installed, build it manually with `go get github.com/mt-inside/dbus-sportify`
## Example
### Manual Execution
```
$ ./dbus-spotify summary
[Lorna Shore] Void
```
### Polybar Config
```
[module/spotify]
type = custom/script
exec = dbus-spotify summary 2> .local/share/polybar/script-dbus-spotify.log
interval = 2
click-left = dbus-spotify prev
click-middle = dbus-spotify playpause
click-right = dbus-spotify next
```