From 55c6bdcfd15e250fe1bc77b77dc11ade6ca07e4e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 23 Nov 2020 13:40:59 -0600 Subject: Change theme options --- config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config.org b/config.org index affa0b5..ac86e80 100644 --- a/config.org +++ b/config.org @@ -219,6 +219,15 @@ I also want to switch themes between night and day. (change-theme 'modus-operandi 'modus-vivendi)) #+end_src +By default, Emacs loads themes on top of each other. I don't want that, so let's apply this advice. + +#+begin_src emacs-lisp + (defadvice load-theme + (before disable-before-load + (theme &optional no-confirm no-enable) activate) + (mapc 'disable-theme custom-enabled-themes)) +#+end_src + * Simplify GUI #+begin_src emacs-lisp @@ -259,6 +268,13 @@ I also want to switch themes between night and day. ((text-mode prog-mode) . form-feed-mode)) #+end_src +** Cursor + +#+begin_src emacs-lisp + (cuss cursor-type 'bar) + (cuss cursor-in-non-selected-windows 'hollow) +#+end_src + * Fonts #+begin_src emacs-lisp @@ -271,6 +287,7 @@ I also want to switch themes between night and day. (set-face-attribute 'default nil :font (font-candidate + "Libertinus Mono-11" "Linux Libertine Mono O-11" "Go Mono-11" "Consolas-11")) @@ -278,6 +295,7 @@ I also want to switch themes between night and day. (set-face-attribute 'fixed-pitch nil :font (font-candidate + "Libertinus Mono-11" "Linux Libertine Mono O-11" "Go Mono-11" "Consolas-11")) @@ -285,6 +303,7 @@ I also want to switch themes between night and day. (set-face-attribute 'variable-pitch nil :font (font-candidate + "Libertinus Serif-12" "Linux Libertine O-12" "Go-12" "Georgia-11")) -- cgit 1.4.1-21-gabe81