Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Friday, January 9, 2009

Adding battery info to conky

First find your battery status:
ls /proc/acpi/battery
Then find which of the dirs listed contains the information for your battery. simply "cat" each /proc/acpi/battery/****/info file, and see which contains any information.

To add to your .conkyrc file, simply edit and add the variables you want. Here are some samples:
${battery_bar C1B5}
${battery_percent C1B5}

All the variables can be found here.

No comments:

Post a Comment