Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-music-control

Works on all player ( local players like mpv vlc, browsers, spotify....)

Features

  • Displays currently playing track info
  • Shows album artwork
  • Automatic fallback for missing artwork
  • Support for multiple media players smartly handles multi playback
  • Playback control buttons
  • Desktop notification with icon as artwork

Preview

Local player fallback albumart Spotify
Browsers Notifications

Installation

Caution

The bash script is configured to use ~config/rofi/nowplaying as default path. So, you can use the suggested installation step or modify it as needed.

# --- Configuration ---
art_file="$HOME/.config/rofi/nowplaying/album_art.png"
fallback_art_file="$HOME/.config/rofi/nowplaying/fallback_album_art.png"
rofi_theme="$HOME/.config/rofi/nowplaying/nowplaying.rasi"
cache_file="$HOME/.config/rofi/nowplaying/song_title.cache"
  1. Create the required directories:
mkdir -p ~/.config/rofi/nowplaying
  1. Clone this repository:
git clone https://github.com/Harsh-bin/rofi-music-control ~/.config/rofi/nowplaying
  1. Make the script executable:
chmod +x ~/.config/rofi/nowplaying/nowplaying.sh

All set. Now, you need to add keybindings or other controls to launch the nowplaying.sh.


Also check this hyprlock-nowplaying based on same script

hyprlock-nowplaying

nothing is playing clean look spotify local player

Author ✍️

Created by Harsh-bin

My waybar and rofi config with matugen config


Enjoy! 🎉

About

Beautiful rofi applet to control media: Show the ablumart of current playing media, supports all player, playback control with notification.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages