From 455f00bba28b5c1f86a3e7d352edf074fc2a32ed Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Wed, 19 Sep 2018 22:58:59 +0200 Subject: [PATCH] polybar: add spotify module --- config/polybar/config | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/polybar/config b/config/polybar/config index 6dc7d11..d24ef09 100644 --- a/config/polybar/config +++ b/config/polybar/config @@ -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