polybar: Battery
This commit is contained in:
parent
f211c0d881
commit
c389f644ef
1 changed files with 12 additions and 18 deletions
|
@ -119,28 +119,22 @@ bar-volume-empty-font = 2
|
||||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
|
inherit = module/defaults
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = AC
|
adapter = AC
|
||||||
full-at = 98
|
full-at = 98
|
||||||
format-charging = <animation-charging> <label-charging>
|
label-charging =%percentage%% (CHG) // %consumption%W
|
||||||
format-discharging = <animation-discharging> <label-discharging>
|
label-discharging =%percentage%% // %consumption%W
|
||||||
format-full-prefix = " "
|
label-full = FULL // %consumption%W
|
||||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
format-charging-prefix = "PWR "
|
||||||
ramp-capacity-0 =
|
format-charging-prefix-foreground =${colors.foreground-alt}
|
||||||
ramp-capacity-1 =
|
format-discharging-prefix = "PWR "
|
||||||
ramp-capacity-2 =
|
format-discharging-prefix-foreground =${colors.foreground-alt}
|
||||||
ramp-capacity-foreground = ${colors.foreground-alt}
|
format-full-prefix = "PWR "
|
||||||
animation-charging-0 =
|
format-full-prefix-foreground =${colors.foreground-alt}
|
||||||
animation-charging-1 =
|
|
||||||
animation-charging-2 =
|
|
||||||
animation-charging-foreground = ${colors.foreground-alt}
|
|
||||||
animation-charging-framerate = 750
|
|
||||||
animation-discharging-0 =
|
|
||||||
animation-discharging-1 =
|
|
||||||
animation-discharging-2 =
|
|
||||||
animation-discharging-foreground = ${colors.foreground-alt}
|
|
||||||
animation-discharging-framerate = 750
|
|
||||||
|
|
||||||
[module/powermenu]
|
[module/powermenu]
|
||||||
type = custom/menu
|
type = custom/menu
|
||||||
|
|
Loading…
Reference in a new issue