diff options
author | Alan Pearce | 2017-02-28 15:12:20 +0100 |
---|---|---|
committer | Alan Pearce | 2017-02-28 15:12:20 +0100 |
commit | c71291af427449c0a1b00c5b824136163ab70195 (patch) | |
tree | 7c19c5f14ad7e05a04229124213ebcd7c4519c39 | |
parent | 3f2a5597103e258890671fe4bf4d57e0076ceb13 (diff) | |
download | nixfiles-c71291af427449c0a1b00c5b824136163ab70195.tar.lz nixfiles-c71291af427449c0a1b00c5b824136163ab70195.tar.zst nixfiles-c71291af427449c0a1b00c5b824136163ab70195.zip |
Emacs: Configure window-dividers in X11 environments
-rw-r--r-- | tag-emacs/emacs.d/init.org | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 24efdb6a..fb279f27 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) |