Emacs: Configure borders and window dividers
Alan Pearce alan@alanpearce.uk
Tue, 21 Feb 2017 17:09:08 +0100
1 files changed, 12 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -143,6 +143,12 @@ :config (progn (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 @@ -182,6 +188,12 @@ (defun hide-mode-line-if-default-hidden () (if mode-line-default-hidden (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)