stumpwm.stumpwm-contrib/modeline/battery-portable/README.org
2014-03-16 14:51:42 -04:00

368 B

Usage

To load this module, place

    (load-module "battery-portable")

in your .stumpwmrc. Battery information is then available via %B in your mode-line config.

If you have an older kernel and the above doesn't work, add

    (setf stumpwm.contrib.battery-portable:*prefer-sysfs* nil)

below the above line.