summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-27 13:20:21 +0000
committernoa@gaiwan.org2024-06-27 13:20:21 +0000
commit15505ee22d1341208bb90d8edeeca580982ffcf2 (patch)
tree291ef3297dfc71808ed6efe234058ac439ae6fc3
parentbac0aeabd87e6e47c83d46a691304aa67d090838 (diff)
Change the battery level format
-rw-r--r--config.org15
1 files 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<separator>], 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.