From 15505ee22d1341208bb90d8edeeca580982ffcf2 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Thu, 27 Jun 2024 13:20:21 +0000 Subject: Change the battery level format --- config.org | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/config.org b/config.org index 2cfb6bb..1b7ebd1 100644 --- a/config.org +++ b/config.org @@ -1155,13 +1155,14 @@ We display [CRM], e.g., [CRM,] if the separator is a comma. Do not allow the cursor in the minibuffer prompt #+begin_src elisp -(setopt minibuffer-prompt-properties - '(read-only t cursor-intangible t face minibuffer-prompt)) -(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) -(setopt display-battery-mode t) -(setopt display-time-default-load-average nil) -(setopt display-time-24hr-format t) -(setopt display-time-mode t) + (setopt minibuffer-prompt-properties + '(read-only t cursor-intangible t face minibuffer-prompt)) + (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) + (setopt battery-mode-line-format "🔋%p%b ") + (setopt display-battery-mode t) + (setopt display-time-default-load-average nil) + (setopt display-time-24hr-format t) + (setopt display-time-mode t) #+end_src Support opening new minibuffers from inside existing minibuffers. -- cgit 1.4.1-2-gfad0