summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jakob.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/jakob.org b/jakob.org
index 9352b64..dc6b0fa 100644
--- a/jakob.org
+++ b/jakob.org
@@ -822,8 +822,9 @@ sequences, the percent symbol has to be escaped twice -- once for
=battery-format=, and once for =mode-line-format=.
#+BEGIN_SRC elisp
-(display-battery-mode +1)
-(setq battery-mode-line-format "%L: %t, %p%%%%")
+(when (string= (system-name) "Upsilon")
+ (display-battery-mode +1)
+ (setq battery-mode-line-format "%L: %t, %p%%%%"))
#+END_SRC
Use an =:eval= form to align modeline contents.

© 2015 - 2026 Jakob L. Kreuze