rice/polybar-themes/sblocks/custom-mpd.ini
2021-11-15 17:22:39 -08:00

43 lines
1.5 KiB
INI

[module/custom-mpd]
type = custom/script
tail = true
interval = 0
exec = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/show-music.sh
format = <label>
click-left = exec $HOME/SudacodeRice/polybar-themes/sblocks/scripts/music-controls.sh -t
click-right = alacritty -e ncmpcpp
format-padding = 1
format-background = ${color.background-alt}
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
format-foreground = ${color.foreground-alt}
[module/cust-mpd-next]
type = custom/script
click-left = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/music-controls.sh -n
exec = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/mpd-controls.sh next
format-padding = 1
format-background = ${color.background-alt}
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
[module/cust-mpd-prev]
type = custom/script
click-left = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/music-controls.sh -p
exec = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/mpd-controls.sh prev
format-padding = 1
format-background = ${color.background-alt}
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
[module/cust-mpd-icon]
type = custom/script
exec = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/mpd-controls.sh -i
format-background = ${color.indigo}
format-padding = 2
format-overline = ${color.background}
format-underline = ${color.background}