Add polybar mpris script
This commit is contained in:
parent
c8008bc611
commit
b804c8b447
3 changed files with 25 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue