summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-02-21 17:09:08 +0100
committerAlan Pearce2017-02-21 17:09:08 +0100
commit3eef5fb45506f504728fdfbe33423d17c54b6254 (patch)
treeb824e26b3faf2fa839bc960a67443d94f125390e /tag-emacs
parent3f2d03c57aa3237acfb799e39dda1b63da52cc53 (diff)
downloadnixfiles-3eef5fb45506f504728fdfbe33423d17c54b6254.tar.lz
nixfiles-3eef5fb45506f504728fdfbe33423d17c54b6254.tar.zst
nixfiles-3eef5fb45506f504728fdfbe33423d17c54b6254.zip
Emacs: Configure borders and window dividers
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index aaef5e4f..62d1c398 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -143,6 +143,12 @@ Let’s try a basic theme.
             (load-theme 'basic t)
 
             (set-face-background 'mode-line "#a1b56c")
+            (set-face-background 'border "#a1b56c")
+            (set-face-foreground 'border "#a1b56c")
+            (set-face-background 'vertical-border "#a1b56c")
+            (set-face-foreground 'vertical-border "#a1b56c")
+            (set-face-background 'window-divider "#a1b56c")
+            (set-face-foreground 'window-divider "#a1b56c")
 
             (defvar mode-line-default-format mode-line-format)
             (defcustom mode-line-default-hidden nil
@@ -183,6 +189,12 @@ Let’s try a basic theme.
                   (hide-mode-line)
                 (show-mode-line)))
 
+            (add-to-list 'default-frame-alist '(border-width . 0))
+            (add-to-list 'default-frame-alist '(internal-border-width . 0))
+            (setq window-divider-default-bottom-width 6
+                  window-divider-default-places t)
+            (window-divider-mode +1)
+
             (add-hook 'after-change-major-mode-hook #'hide-mode-line-if-default-hidden)
 
             (add-hook 'minibuffer-setup-hook #'show-mode-line)