From 28c376ebbd2e67166416f97d03efedf89caaafb7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 29 Nov 2020 00:20:03 -0600 Subject: Change frame defaults Enable a vertical scrollbar on all but the minibuffer Enable fringes and dividers --- config.org | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index b1005b2..f953d0c 100644 --- a/config.org +++ b/config.org @@ -260,12 +260,36 @@ I also want to switch themes between night and day. * Simplify GUI +** Frame defaults + +#+begin_src emacs-lisp + (cuss default-frame-alist + '((tool-bar-lines . 0) + (menu-bar-lines . 0) + (vertical-scroll-bars . 'right) + (horizontal-scroll-bars . nil) + (right-divider-width . 2) + (bottom-divider-width . 2) + (left-fringe-width . 2) + (right-fringe-width . 2))) +#+end_src + +** Minibuffer window/frame defaults + +#+begin_src emacs-lisp + (cuss minibuffer-frame-alist + '((width . 80) + (height . 2) + (vertical-scrollbars . nil))) + + (set-window-scroll-bars (minibuffer-window) nil nil) +#+end_src + ** Remove unneeded GUI elements #+begin_src emacs-lisp (menu-bar-mode -1) (tool-bar-mode -1) - (scroll-bar-mode -1) (horizontal-scroll-bar-mode -1) #+end_src -- cgit 1.4.1-21-gabe81