summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-02-28 15:12:20 +0100
committerAlan Pearce2017-02-28 15:12:20 +0100
commitc71291af427449c0a1b00c5b824136163ab70195 (patch)
tree7c19c5f14ad7e05a04229124213ebcd7c4519c39
parent3f2a5597103e258890671fe4bf4d57e0076ceb13 (diff)
downloaddotfiles-c71291af427449c0a1b00c5b824136163ab70195.tar.lz
dotfiles-c71291af427449c0a1b00c5b824136163ab70195.tar.zst
dotfiles-c71291af427449c0a1b00c5b824136163ab70195.zip
Emacs: Configure window-dividers in X11 environments
-rw-r--r--tag-emacs/emacs.d/init.org9
1 files changed, 6 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 24efdb6..fb279f2 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -181,9 +181,12 @@ Let’s try a basic theme.
 
             (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)
+            (when (eq window-system 'x)
+              (setq window-divider-default-bottom-width 1
+                    window-divider-default-right-width 1
+                    window-divider-default-places t)
+              (setq mode-line-default-hidden t)
+              (window-divider-mode +1))
 
             (add-hook 'after-change-major-mode-hook #'hide-mode-line-if-default-hidden)