polybar shows mpd details
This commit is contained in:
@@ -52,7 +52,7 @@ separator-foreground = ${colors.disabled}
|
||||
font-0 = Hack Nerd Font:size=9
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
;modules-center = mpd
|
||||
modules-center = mpd
|
||||
modules-right = filesystem pulseaudio memory cpu wlan eth battery date
|
||||
|
||||
cursor-click = pointer
|
||||
@@ -89,7 +89,25 @@ label-empty-padding = 1
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:25...%
|
||||
label = %title:0:20...%
|
||||
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
host = 127.0.0.1
|
||||
port = 6600
|
||||
interval = 2
|
||||
label-song = %artist:0:20...% - %title:0:20...%
|
||||
format-online = <label-song> <toggle>
|
||||
|
||||
bar-progress-width = 45
|
||||
bar-progress-indicator = *
|
||||
bar-progress-fill = ─
|
||||
bar-progress-empty = .
|
||||
icon-pause =
|
||||
icon-play =
|
||||
|
||||
|
||||
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
@@ -169,16 +187,18 @@ inherit = network-base
|
||||
interface-type = wireless
|
||||
;label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
|
||||
;label-connected = %{F#F0C674}wifi%{F-} %essid% %local_ip%
|
||||
label-connected = %{F#F0C674}wifi%{F-} %essid%
|
||||
label-disconnected = %{F#F0C674}wifi%{F#707880} disconnected
|
||||
;label-connected = %{F#F0C674}wifi%{F-} %essid%
|
||||
label-connected = %{F#F0C674}wifi%{F-} con
|
||||
label-disconnected = %{F#F0C674}wifi%{F#707880} dis
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
;label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
||||
;label-connected = %{F#F0C674}eth%{F-} %local_ip%
|
||||
label-connected = %{F#F0C674}eth%{F-} %linkspeed%
|
||||
label-disconnected = %{F#F0C674}eth%{F#707880} disconnected
|
||||
;label-connected = %{F#F0C674}eth%{F-} %linkspeed%
|
||||
label-connected = %{F#F0C674}eth%{F-} con
|
||||
label-disconnected = %{F#F0C674}eth%{F#707880} dis
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
|
||||
Reference in New Issue
Block a user