diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-08-03 13:59:51 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-08-03 13:59:51 -0400 |
| commit | f6237fe702c9257db2483f87e5c82d9d3d6d96e2 (patch) | |
| tree | 0f47188974f14dad6faa623eb73f21f21fa31217 | |
| parent | Add date and formatting to `display-time-mode` (diff) | |
| download | mmosmacs-f6237fe702c9257db2483f87e5c82d9d3d6d96e2.tar.gz mmosmacs-f6237fe702c9257db2483f87e5c82d9d3d6d96e2.tar.bz2 mmosmacs-f6237fe702c9257db2483f87e5c82d9d3d6d96e2.zip | |
Modify formatting for `display-battery-mode~
| -rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -307,6 +307,11 @@ | |||
| 307 | (display-time-mode) | 307 | (display-time-mode) |
| 308 | 308 | ||
| 309 | ;; Display battery percentage in modeline | 309 | ;; Display battery percentage in modeline |
| 310 | (use-package emacs | ||
| 311 | :config | ||
| 312 | (setq battery-mode-line-format "[ %b%p%% ]" | ||
| 313 | battery-load-low 30 | ||
| 314 | battery-load-critical 15)) | ||
| 310 | (display-battery-mode) | 315 | (display-battery-mode) |
| 311 | 316 | ||
| 312 | ;; --------------------------------- | 317 | ;; --------------------------------- |