Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T10:30:16.000Z (5 months ago)
- Last Synced: 2024-10-12T05:10:20.355Z (3 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: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spofi
[![Build](https://github.com/davidborzek/spofi/actions/workflows/build.yml/badge.svg)](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.
![](./docs/screenshot.png)
## 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
```