https://github.com/davidborzek/spofi
Spotify controls in rofi.
https://github.com/davidborzek/spofi
go golang i3 music rofi rofi-menus rofi-scripts rofi-theme spofi spotify unix
Last synced: 6 months ago
JSON representation
Spotify controls in rofi.
- Host: GitHub
- URL: https://github.com/davidborzek/spofi
- Owner: davidborzek
- License: mit
- Created: 2023-03-06T11:48:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T10:30:16.000Z (over 1 year ago)
- Last Synced: 2025-06-21T22:37:38.752Z (8 months ago)
- Topics: go, golang, i3, music, rofi, rofi-menus, rofi-scripts, rofi-theme, spofi, spotify, unix
- Language: Go
- Homepage: https://github.com/davidborzek/spofi
- Size: 251 KB
- Stars: 32
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spofi
[](https://github.com/davidborzek/spofi/actions/workflows/build.yml)
> Spotify controls in rofi.
Spofi provides a method to control your spotify playback via a rofi menu.
**Please Note**: Spofi only works with Spotify premium accounts.

## Installation
Currently the application can be installed using go:
```bash
go install github.com/davidborzek/spofi@latest
```
### Setup
Run spofi in any terminal:
```bash
spofi
```
On the first run spofi will ask you to create a new configuration.
Follow the steps shown in your terminal to authenticate with spotify.
This step above will create a new configuration file under `~/.config/spofi/spofi.yaml`.
After the setup is done, you can normally run `spofi`.
### Custom Theme
If you want to use a custom theme for the menu, update config file with your theme:
```yaml
theme: /path/to/theme.rasi
```
or run spofi with the `--theme` flag:
```bash
spofi --theme /path/to/theme.rasi
```