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}
|
||||
|
||||
[module/battery]
|
||||
inherit = module/defaults
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
full-at = 98
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-discharging = <animation-discharging> <label-discharging>
|
||||
format-full-prefix = " "
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-foreground = ${colors.foreground-alt}
|
||||
animation-charging-0 =
|
||||
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
|
||||
label-charging =%percentage%% (CHG) // %consumption%W
|
||||
label-discharging =%percentage%% // %consumption%W
|
||||
label-full = FULL // %consumption%W
|
||||
format-charging-prefix = "PWR "
|
||||
format-charging-prefix-foreground =${colors.foreground-alt}
|
||||
format-discharging-prefix = "PWR "
|
||||
format-discharging-prefix-foreground =${colors.foreground-alt}
|
||||
format-full-prefix = "PWR "
|
||||
format-full-prefix-foreground =${colors.foreground-alt}
|
||||
|
||||
|
||||
|
||||
[module/powermenu]
|
||||
type = custom/menu
|
||||
|
|
Loading…
Reference in a new issue