# polybar-mpris-control **Repository Path**: LiuKairui/polybar-mpris-control ## Basic Information - **Project Name**: polybar-mpris-control - **Description**: 🎶 show a mpris coltrol bar on polybar(using playerctl). chromium / firefox / spotify / vlc... are available - **Primary Language**: Shell - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-28 - **Last Updated**: 2022-05-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Polybar Mpris Control 🎶This polybar module displays mpris-enabled media information on your device. Besides, it use [zscroll](https://github.com/noctuid/zscroll) to display information in a small place. 🤗 Many ideas and codes come from [PrayagS/polybar-spotify](https://github.com/PrayagS/polybar-spotify), thanks a lot! ### Features and Previews - Show Informations ![normal-bar](/images/normal-bar.png) - Adjust volume by scrolling on left icon, progress bar or song title(only works in very few players) - player switch(Just click the left icon to open) ![player-switch](/images/player-switch.png) - Can change menu icon if the player is chromium/ firefox/ spotify/ vlc - using chromium ![chrome-bar](/images/chrome-bar.png) - using firefox ![chrome-bar](/images/firefox-bar.png) - using vlc ![vlc-bar](/images/vlc-bar.png) - using spotify ![spotify-bar](/images/spotify-bar.png) ### Dependencies - [zscroll](https://github.com/noctuid/zscroll): To scroll the fetched text - [rofi](https://github.com/davatorium/rofi): To provide player switch - icomoon font family: To provides icon fonts on polybar. You can replace the icon in the code to remove the dependency. ### Config - move `/mpris` to `~/.config/polybar/scripts/` - add modules in `config.ini` ```ini modules-left = mrpis-control mrpis-prev mrpis-play-pause mrpis-next mrpis-process mrpis-status ``` - add modules config ```ini [module/mrpis-control] type = custom/script exec = ~/.config/polybar/scripts/mpris/mpris_control.sh --icon format =