about summary refs log tree commit diff
path: root/tools/emacs/init/look-and-feel.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-14T13·23+0000
committerVincent Ambo <tazjin@google.com>2019-12-14T13·23+0000
commitc490bbf4b3d57df111476f76f3a5c8ad2d04fa33 (patch)
tree10320810bb4048512a13ef99cca330298ed45abc /tools/emacs/init/look-and-feel.el
parent1f204f2891038bfced0b799837764495d351f1a5 (diff)
chore(emacs.d): Import several months of privately tracked changes r/141
These changes were made in a fork of my configuration that is not
publicly available and detailed history will not be included in this
public commit.
Diffstat (limited to 'tools/emacs/init/look-and-feel.el')
-rw-r--r--tools/emacs/init/look-and-feel.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/emacs/init/look-and-feel.el b/tools/emacs/init/look-and-feel.el
index 9402e09e5620..8f42133fb8a0 100644
--- a/tools/emacs/init/look-and-feel.el
+++ b/tools/emacs/init/look-and-feel.el
@@ -27,10 +27,6 @@
                               (font . ,font)))
   (set-frame-font font t t))
 
-;; Display battery in mode-line's misc section on adho:
-(when (equal "adho" (system-name))
-  (setq battery-mode-line-format " %b%p%%")
-  (display-battery-mode))
 ;; Display modeline time in dottime (see https://dotti.me)
 ;;
 ;; This is done in a way that initially seems more complicated than
@@ -53,7 +49,7 @@
   frame.
 
   The idea is to not display information like the current time,
-  load, battery levels in all buffers."
+  load, battery levels on all buffers."
 
   (when (bottom-right-window-p)
       (telephone-line-raw mode-line-misc-info t)))
@@ -81,7 +77,14 @@
         '((accent . (telephone-line-major-mode-segment))
           (nil . (telephone-line-last-window-segment
                   telephone-line-exwm-workspace-index))
-          (highlight . (telephone-line-notmuch-counts))))
+
+          ;; TODO(tazjin): lets not do this particular thing while I
+          ;; don't actually run notmuch, there are too many things
+          ;; that have a dependency on the modeline drawing correctly
+          ;; (including randr operations!)
+          ;;
+          ;; (highlight . (telephone-line-notmuch-counts))
+          ))
 
   (setq telephone-line-primary-left-separator 'telephone-line-tan-left
         telephone-line-primary-right-separator 'telephone-line-tan-right