summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-07-10 16:19:10 +0200
committerAlan Pearce2019-07-10 16:19:10 +0200
commitfb0c3a358fb1d70c30926ac156ef0623e1b11bed (patch)
tree6e288cc73e1eb67b04c1ae8f828657f8cb988c4c
parent2f9066fc67955e4f643c200bf19bafbc44fec4e9 (diff)
downloaddotfiles-fb0c3a358fb1d70c30926ac156ef0623e1b11bed.tar.lz
dotfiles-fb0c3a358fb1d70c30926ac156ef0623e1b11bed.tar.zst
dotfiles-fb0c3a358fb1d70c30926ac156ef0623e1b11bed.zip
Emacs: switch to almost-mono-white theme
-rw-r--r--emacs/.emacs.d/main.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1b8d077..ebd21ab 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -43,9 +43,15 @@
 
 (when (or (daemonp)
            window-system)
-  (load-theme 'eink t)
+  (load-theme 'almost-mono-white t)
   (setq frame-background-mode 'light)
   (mapc 'frame-set-background-mode (frame-list)))
+  (let ((line (face-attribute 'mode-line :underline)))
+    (set-face-attribute 'mode-line          nil :overline   line)
+    (set-face-attribute 'mode-line-inactive nil :overline   line)
+    (set-face-attribute 'mode-line-inactive nil :underline  line)
+    (set-face-attribute 'mode-line          nil :box        nil)
+    (set-face-attribute 'mode-line-inactive nil :box        nil))
 
 (global-hl-line-mode +1)