[polybar] Add local MPD, make it fancier
This commit is contained in:
parent
91a9cd7351
commit
702c793814
1 changed files with 14 additions and 12 deletions
|
@ -37,20 +37,20 @@ module-margin-right = 6
|
||||||
|
|
||||||
; Default text
|
; Default text
|
||||||
font-0 = "Fira Sans:size=10;1"
|
font-0 = "Fira Sans:size=10;1"
|
||||||
; Other timezones clock symbols
|
; Sliders
|
||||||
font-1 = "Noto Sans Symbols2:size=16;4"
|
font-1 = fixed:pixelsize=10;1
|
||||||
; Default icons
|
; Default icons
|
||||||
font-2 = "Material Icons:pixelsize=14;3"
|
font-2 = "Material Icons:pixelsize=14;3"
|
||||||
; Clock text
|
; Clock text
|
||||||
font-3 = "Fira Sans:size=12;2"
|
font-3 = "Fira Sans:size=12;2"
|
||||||
; MPD song name
|
; MPD song name
|
||||||
font-4 = "Fira Mono:size=7;0"
|
font-4 = "Fira Mono:size=7;-1"
|
||||||
; Specialised icons
|
; Specialised icons
|
||||||
font-5 = "Weather Icons:size=10;1"
|
font-5 = "Weather Icons:size=10;1"
|
||||||
font-6 = "Bar Material Supplements:pixelsize=14;1"
|
font-6 = "Bar Material Supplements:pixelsize=14;1"
|
||||||
font-7 = "Bar Material Supplements:pixelsize=19;3"
|
font-7 = "Bar Material Supplements:pixelsize=19;3"
|
||||||
; MPD song position
|
; MPD song position
|
||||||
font-8 = "Fira Mono:size=7;-1"
|
font-8 = "Freemono:size=7;9"
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
@ -61,7 +61,7 @@ inherit = bardefaults
|
||||||
monitor = ${env:MONITOR:eDP-1}
|
monitor = ${env:MONITOR:eDP-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
|
|
||||||
modules-left = i3 volume
|
modules-left = i3 volume mpd-local
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = battery cpu memory temperature eth wlan
|
modules-right = battery cpu memory temperature eth wlan
|
||||||
|
|
||||||
|
@ -142,10 +142,12 @@ label-urgent-padding = 2
|
||||||
[mpd-shared]
|
[mpd-shared]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
|
|
||||||
format-online = <toggle><icon-stop> <icon-prev> %{T8}<bar-progress>%{T-}%{O-125}%{T5}<label-song>%{T-} <icon-next>
|
;format-online = <toggle> <icon-prev> %{T9}<bar-progress>%{T-}%{O-125}%{T5}<label-song>%{T-} <icon-next>
|
||||||
small-format-online = <toggle><icon-stop> <icon-prev> %{T8}<bar-progress>%{T-}%{O-50}%{T5}<label-song>%{T-} <icon-next>
|
;small-format-online = <toggle> <icon-prev> %{T9}<bar-progress>%{T-}%{O-50}%{T5}<label-song>%{T-} <icon-next>
|
||||||
|
format-online = <toggle> %{A1:mpdclient &:}%{T9}<bar-progress>%{T-}%{O-125}%{T5}<label-song>%{T-}%{A}
|
||||||
|
small-format-online = <toggle> %{A1:mpdclient &:}%{T9}<bar-progress>%{T-}%{O-50}%{T5}<label-song>%{T-}%{A}
|
||||||
|
|
||||||
format-stopped = %{A1:cantata &:}%{A}
|
format-stopped = %{A1:mpdclient &:}%{A}
|
||||||
format-stopped-foreground = ${colors.foreground-alt}
|
format-stopped-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
icon-prev =
|
icon-prev =
|
||||||
|
@ -167,11 +169,11 @@ label-song-foreground = ${colors.foreground}
|
||||||
|
|
||||||
bar-progress-width = 25
|
bar-progress-width = 25
|
||||||
small-bar-progress-width = 10
|
small-bar-progress-width = 10
|
||||||
bar-progress-indicator = ▁
|
bar-progress-indicator = ╴
|
||||||
bar-progress-indicator-foreground = #eee
|
bar-progress-indicator-foreground = #eee
|
||||||
bar-progress-fill = ▁
|
bar-progress-fill = ─
|
||||||
bar-progress-fill-foreground = #999
|
bar-progress-fill-foreground = #999
|
||||||
bar-progress-empty = ▁
|
bar-progress-empty = ─
|
||||||
bar-progress-empty-foreground = #333
|
bar-progress-empty-foreground = #333
|
||||||
|
|
||||||
[module/mpd-local]
|
[module/mpd-local]
|
||||||
|
@ -347,7 +349,7 @@ label-volume-foreground = ${root.foreground}
|
||||||
|
|
||||||
label-muted =
|
label-muted =
|
||||||
|
|
||||||
bar-volume-width = 10
|
bar-volume-width = 7
|
||||||
bar-volume-foreground-0 = #55aa55
|
bar-volume-foreground-0 = #55aa55
|
||||||
bar-volume-foreground-1 = #55aa55
|
bar-volume-foreground-1 = #55aa55
|
||||||
bar-volume-foreground-2 = #55aa55
|
bar-volume-foreground-2 = #55aa55
|
||||||
|
|
Loading…
Reference in a new issue