From 3eef5fb45506f504728fdfbe33423d17c54b6254 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 21 Feb 2017 17:09:08 +0100 Subject: Emacs: Configure borders and window dividers --- tag-emacs/emacs.d/init.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tag-emacs/emacs.d/init.org') 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) -- cgit 1.4.1