summaryrefslogtreecommitdiff
path: root/battery-conf.el
AgeCommit message (Collapse)Author
2023-08-29battery: Set limit to 59JSDurand
* battery-conf.el (battery-mode-line-limit): I think this limit better fits the usage now.
2021-07-01battery: set the threshold to 79 instead of 80JSDurand
2021-06-11battery-conf: limit = 80JSDurand
* battery-conf.el (battery-mode-line-limit): I consider the battery fully charged if it is chared above 80% now.
2021-06-05modeline: try to reduce the mode line clutterJSDurand
* battery-conf.el (durand-battery-pmset): Whether it is AC or battery should be clear with one letter: A or B. * modeline.el (modeline-minor-modes-name-len-max): minor modes should be more important, as it is not easy to discover which of them are enabled. (modeline-buffer-name-len-max): And the name of the buffer is easily checked by a manual function call, so is less important to me.
2021-04-20Display battery and time on the modeline.JSDurand
Now I can use Emacs in the full-screen mode. * battery-conf.el (battery-pmset): (durand-battery-pmset): Override the default so that it also offers temperature information. (battery-mode-line-format): (battery-mode-line-limit): (battery-update-interval): (battery-load-low): (battery-load-critical): Some sane defaults. * init.el (durand-battery): (durand-time): Advice to load the configurations and display at the same time. * time-conf.el (display-time-format): (display-time-interval): (display-time-default-load-average): (display-time-mail-directory): (display-time-mail-function): (display-time-use-mail-icon): (display-time-mail-string): (display-time-mail-face): Sane defaults.