dotfiles/polybar/conf.d/mod_battery

15 lines
523 B
Text

[module/battery]
inherit = module/defaults
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
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}