Add status indicator to polybar

This commit is contained in:
David Holland 2020-03-19 16:36:41 +01:00
parent 0ba60b1e96
commit 86d3956f5e
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9

View file

@ -97,7 +97,7 @@ format-mounted = <label-mounted>
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.background} format-background = ${colors.background}
label-mounted = "DISK %used% / %total%" label-mounted = %used% / %total%
label-mounted-padding = 1 label-mounted-padding = 1
label-mounted-foreground = ${colors.foreground} label-mounted-foreground = ${colors.foreground}
label-mounted-background = ${colors.background} label-mounted-background = ${colors.background}
@ -117,7 +117,7 @@ type = internal/pulseaudio
format-volume = <label-volume> format-volume = <label-volume>
label-volume = "VOL: %percentage%%" label-volume = "%percentage%%"
label-volume-padding = 1 label-volume-padding = 1
label-volume-foreground = ${colors.foreground} label-volume-foreground = ${colors.foreground}
@ -166,6 +166,8 @@ type = internal/bspwm
pin-workspaces = true pin-workspaces = true
format = <label-state>[<label-mode>]
label-focused = %name% label-focused = %name%
label-focused-background = ${colors.background-alt} label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary} label-focused-underline= ${colors.primary}
@ -182,12 +184,26 @@ label-empty = %name%
label-empty-foreground = #333333 label-empty-foreground = #333333
label-empty-padding = 1 label-empty-padding = 1
label-monocle = m
label-tiled = t
label-floating = s
label-fullscreen = f
label-marked = m
label-marked-foreground = #a6f6c6
label-locked = x
label-locked-foreground = #a6f6c6
label-sticky = y
label-sticky-foreground = #a6f6c6
label-private = z
label-private-foreground = #a6f6c6
; label-separator = | ; label-separator = |
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
label = CPU %percentage%% label = %percentage%%
label-padding-left = 1 label-padding-left = 1
[module/memory] [module/memory]
@ -195,7 +211,7 @@ type = internal/memory
format = <label> format = <label>
label = RAM %gb_used% / %gb_total% | SWAP %gb_swap_used% / %gb_swap_total% label = %gb_used% / %gb_total% | %gb_swap_used% / %gb_swap_total%
label-padding = 1 label-padding = 1
[module/temperature] [module/temperature]