thinkpads: fix polybar battery module for t480

main
Elnu 2 months ago
parent fa755c8169
commit e7260c0f22

@ -15,7 +15,11 @@ in with theme.colors;
}; };
"module/battery" = { "module/battery" = {
type = "internal/battery"; type = "internal/battery";
battery = "BAT0"; # battery = "BAT0";
# TODO: either separate t480 config or decomission old ThinkPads
# This battery parameter is different between them
# Use `ls -1 /sys/class/power_supply/` to check available power devices
battery = "BAT1";
adapter = "AC"; adapter = "AC";
format-low = "<animation-low> <label-low>"; format-low = "<animation-low> <label-low>";

Loading…
Cancel
Save