better song info polybar module

This commit is contained in:
2021-01-16 23:32:46 +01:00
parent c4a1c0422a
commit 55ba702c7f
5 changed files with 10 additions and 30 deletions

View File

@@ -44,7 +44,7 @@ font-1 = "Hack Nerd Font:style=Regular:pixelsize=10;2"
modules-left = i3
modules-center =
modules-right = spotifyd pulseaudio memory cpu wlan wireguard-status battery date
modules-right = playerctl pulseaudio memory cpu wlan wireguard-status battery date
tray-position = right
tray-padding = 2
@@ -197,15 +197,16 @@ format-full-foreground = ${colors.text}
format-full-prefix-foreground = ${colors.foreground}
format-full-underline = ${self.format-charging-underline}
[module/spotifyd]
type = custom/ipc
[module/playerctl]
type = custom/script
exec = $XDG_CONFIG_HOME/polybar/playerctl-meta.sh
tail = true
format-foreground = ${colors.text}
format-underline = ${colors.spotify-ul}
hook-0 = $HOME/.config/polybar/spotifyd-meta.sh
initial = 1
[module/wireguard-status]
type = custom/ipc