diff options
| author | Jakob L. Kreuze | 2019-12-24 13:26:37 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-12-24 13:26:37 -0500 |
| commit | 7988b2202a3021c6096ea08fe1d9f73e9afd8902 (patch) | |
| tree | 728bad68fe5d24ce13d0c8f4bfbff12a00a24e1e /jakob.org | |
| parent | 3eabb97b7789a2c31975824ffc49232d23a9207f (diff) | |
Only show the battery status on my laptop.
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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. |