Minimal spotify widget based on rofi written in bash
- Clone this repository
git clone https://github.com/Strix007/rofi-spotify.git ~/.config/rofi/spotify
- Make script executable
chmod +x ~/.config/rofi/spotify/spotify.sh
- Setup a keybind to
~/.config/rofi/spotify/spotify.sh
in your WM or DE.
There are two formats you can use for this widget.
You can switch between them by editing the USE_FORMAT_ALT
variable in spotify.sh
.
You can easily change the theme of this widget by editing the colors.rasi
. Check this repository out for more color options.
You can change where the script looks for files by chaning the DIR
variable in spotify.sh
if you want to put the script anywhere other than ~/.config/rofi/spotify
.
This script was heavily inspired by adi1080x’s rofi and uses his mpd widget theming. Check out his repo for more cool rofi widgets.
If run into any issues with the script, feel free to open an issue. If you see me doing anything inefficiently in this config or you think something would be useful to me or you want to correct some error on my part, feel free to open a pull request.