all repos — nixfiles @ fb0c3a358fb1d70c30926ac156ef0623e1b11bed

System and user configuration, managed by nix and home-manager

Emacs: switch to almost-mono-white theme
Alan Pearce alan@alanpearce.eu
Wed, 10 Jul 2019 16:19:10 +0200
commit

fb0c3a358fb1d70c30926ac156ef0623e1b11bed

parent

2f9066fc67955e4f643c200bf19bafbc44fec4e9

1 files changed, 7 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -43,9 +43,15 @@ (ding)))) 
 (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)