Add polybar mpris script

This commit is contained in:
Tobias Reisinger 2022-03-02 16:58:03 +01:00
parent c8008bc611
commit b804c8b447
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 25 additions and 1 deletions

View file

@ -53,3 +53,14 @@
format-prefix-foreground = ${colors.foreground}
format-underline = ${colors.green}
[module/player-mpris-simple]
type = custom/script
exec = $HOME/.config/polybar/scripts/player-mpris-simple.sh
interval = 3
click-left = playerctl previous &
click-right = playerctl next &
click-middle = playerctl play-pause &
format-prefix-foreground = ${colors.foreground}
format-underline = ${colors.green}