diff options
author | Case Duckworth | 2020-11-23 13:40:59 -0600 |
---|---|---|
committer | Case Duckworth | 2020-11-23 13:40:59 -0600 |
commit | 55c6bdcfd15e250fe1bc77b77dc11ade6ca07e4e (patch) | |
tree | 4c81b6c95a55334cf4051eae9db8608651cea420 | |
parent | Add more paths to exec-path on Windows (diff) | |
download | emacs-55c6bdcfd15e250fe1bc77b77dc11ade6ca07e4e.tar.gz emacs-55c6bdcfd15e250fe1bc77b77dc11ade6ca07e4e.zip |
Change theme options
-rw-r--r-- | config.org | 19 |
1 files changed, 19 insertions, 0 deletions
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. | |||
219 | (change-theme 'modus-operandi 'modus-vivendi)) | 219 | (change-theme 'modus-operandi 'modus-vivendi)) |
220 | #+end_src | 220 | #+end_src |
221 | 221 | ||
222 | By default, Emacs loads themes on top of each other. I don't want that, so let's apply this advice. | ||
223 | |||
224 | #+begin_src emacs-lisp | ||
225 | (defadvice load-theme | ||
226 | (before disable-before-load | ||
227 | (theme &optional no-confirm no-enable) activate) | ||
228 | (mapc 'disable-theme custom-enabled-themes)) | ||
229 | #+end_src | ||
230 | |||
222 | * Simplify GUI | 231 | * Simplify GUI |
223 | 232 | ||
224 | #+begin_src emacs-lisp | 233 | #+begin_src emacs-lisp |
@@ -259,6 +268,13 @@ I also want to switch themes between night and day. | |||
259 | ((text-mode prog-mode) . form-feed-mode)) | 268 | ((text-mode prog-mode) . form-feed-mode)) |
260 | #+end_src | 269 | #+end_src |
261 | 270 | ||
271 | ** Cursor | ||
272 | |||
273 | #+begin_src emacs-lisp | ||
274 | (cuss cursor-type 'bar) | ||
275 | (cuss cursor-in-non-selected-windows 'hollow) | ||
276 | #+end_src | ||
277 | |||
262 | * Fonts | 278 | * Fonts |
263 | 279 | ||
264 | #+begin_src emacs-lisp | 280 | #+begin_src emacs-lisp |
@@ -271,6 +287,7 @@ I also want to switch themes between night and day. | |||
271 | (set-face-attribute 'default nil | 287 | (set-face-attribute 'default nil |
272 | :font | 288 | :font |
273 | (font-candidate | 289 | (font-candidate |
290 | "Libertinus Mono-11" | ||
274 | "Linux Libertine Mono O-11" | 291 | "Linux Libertine Mono O-11" |
275 | "Go Mono-11" | 292 | "Go Mono-11" |
276 | "Consolas-11")) | 293 | "Consolas-11")) |
@@ -278,6 +295,7 @@ I also want to switch themes between night and day. | |||
278 | (set-face-attribute 'fixed-pitch nil | 295 | (set-face-attribute 'fixed-pitch nil |
279 | :font | 296 | :font |
280 | (font-candidate | 297 | (font-candidate |
298 | "Libertinus Mono-11" | ||
281 | "Linux Libertine Mono O-11" | 299 | "Linux Libertine Mono O-11" |
282 | "Go Mono-11" | 300 | "Go Mono-11" |
283 | "Consolas-11")) | 301 | "Consolas-11")) |
@@ -285,6 +303,7 @@ I also want to switch themes between night and day. | |||
285 | (set-face-attribute 'variable-pitch nil | 303 | (set-face-attribute 'variable-pitch nil |
286 | :font | 304 | :font |
287 | (font-candidate | 305 | (font-candidate |
306 | "Libertinus Serif-12" | ||
288 | "Linux Libertine O-12" | 307 | "Linux Libertine O-12" |
289 | "Go-12" | 308 | "Go-12" |
290 | "Georgia-11")) | 309 | "Georgia-11")) |