It seems on my system that there has been a recent kernel change where `current_now` is reported negative when discharging, leading to no reported time remaining, only a dash; given this is only on certain kernel versions, it is perhaps better to just take the absolute value of `current_now` when calculating time remaining, just to remain compatible with both
The current README.org is confusing. When you read it, it seems like you have to
add "%c" "%t" to *screen-mode-line-format*, which is incorrect. Actually, you
should add "%C". Therefore, I changed the README.org a bit to make it clearer.
On my laptop, acpi shows:
$ acpi
Battery 0: Not charging, 99%
Within the battery-portable module, (sysfs-field path "status")
reports this as "Not charging".
In order to let the battery not be in an :unknown state, this change
allows "Not charging" to be recognized as :charging in addition to
"Full".
The clim mode line has been a failure. I added it here with rose-tinted glasses, thinking that others would see it and contribute to it. However my own motivation to make this a reality has died, and I think the best option at this point is to remove this from the repo, as it can cause confusion to users who expect a well functioning mode line based on clim as opposed to the current reality of a hackish mode line that is less functional than the default StumpWM mode line.
I may continue working on this in the future, but until it is truly functional it should live in its own repo.
- factor out formatting for the CPU usage output to allow for easier user config
- add bar-zone-colouring for CPU temperature
- with configurable levels, defaulting to reasonable values
Removed the patched stumpwm::eval-command function and instead hung a
refresh function on the event hook in stumpwm.
moved highlighting of current window/group into the present method.
added a lock to the redisplay to function to (hopefully) cut down on
freezes/hanging of the mode line.
rewrote goals and TODO portion of the readme.
added file presentations.lisp, where presentations, commands,
and *translators live.
removed unneeded default-frame-top-level method
reworked display functionality by writing present methods for groups
and windows. Now one presents a group or window object instead of
using with-output-as-presentation.
fixed D&Ð translators, i wasnt using the correct syntax.