dotfiles/polybar/conf.d/mod_battery
2022-07-21 22:04:21 +02:00

15 lines
522 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}