This commit is contained in:
nnduc
2025-07-21 16:05:34 +07:00
parent 8a192fd4d2
commit c5d7992af3

View File

@ -119,18 +119,20 @@ label-foreground = ${colors.altprime}
[module/battery] [module/battery]
type = internal/battery type = internal/battery
full-at = 99 full-at = 99
low-at = 5 low-at = 15
; Use the following command to list batteries and adapters: ; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/ ; $ ls -1 /sys/class/power_supply/
battery = BAT0 battery = BAT0
adapter = AC adapter = AC
time-format = %H:%M time-format = %H:%M
label-charging = Charging %percentage%% label-charging = %percentage%%
label-discharging = Discharging %percentage%% label-discharging = %percentage%%
format-charging = <animation-charging> <lavel-charging> format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging> format-discharging = <ramp-capacity> <label-discharging>
label-full = Fully charged ;label-full = Fully charged
label-full =
label-low = BATTERY LOW label-low = BATTERY LOW
; Only applies if <ramp-capacity> is used ; Only applies if <ramp-capacity> is used