Skip to content

Rofi script for controlling MPRIS compatible applications.

License

Notifications You must be signed in to change notification settings

Meisteri-4/rofi-mpris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Control MPRIS applications with rofi.

Requires mpris-ctl or playerctl and rofi to work.

Instructions

$ git clone https://github.com/Meisteri-4/rofi-mpris.git && cd rofi-mpris
$ chmod +x ./rofi-mpris
$ ./rofi-mpris --help
Usage: rofi-mpris [options] - Control MPRIS applications with rofi
  options:
    -m, --mpris-ctl                           Use mpris-ctl as MPRIS controller (DEFAULT)
    -p, --playerctl                           Use playerctl as MPRIS controller
    -f, --first-theme /path/to/theme.rasi     Set rofi theme for the first level menu
                                              Defaults to $HOME/.config/rofi/config.rasi
    -s, --second-theme /path/to/theme.rasi    Set rofi theme for the second level menu
                                              Defaults to the first theme
    -h, --help                                Show this text

If neither MPRIS controller is given as input, the script will use whichever controller is available with mpris-ctl having priority.

Most things you may want to customize can be found inside the function get_custom_opts() defined right at the top of the script.

About

Rofi script for controlling MPRIS compatible applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages