polybar: add spotify module

This commit is contained in:
Johannes Rothe 2018-09-19 22:58:59 +02:00
parent c3784d1fd4
commit 455f00bba2

View File

@ -57,7 +57,7 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
modules-left = i3
#modules-center = mpd
modules-right = cpu memory xbacklight pactl xkeyboard wlan eth temperature battery-combined date mail powermenu
modules-right = spotify cpu memory xbacklight xkeyboard wlan eth temperature battery-combined date mail powermenu
tray-position = right
tray-padding = 2
@ -443,6 +443,13 @@ interval = 5.0
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
[module/spotify]
type = custom/script
exec = ~/src/dotfiles/scripts/spotify.sh
interval = 1.0
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
[settings]
screenchange-reload = true
;compositing-background = xor