From 87daeb68efd8393c8b4ce38d8759c034496f109d Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Mon, 25 Aug 2025 12:56:45 -0500 Subject: [PATCH] Adding org-level 1-8 font settings for Org headers. --- .config/doom/config.el | 18 ++++++++++++++++-- .config/doom/init.el | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index d711a1e..9e0b8d9 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -29,11 +29,24 @@ ;; refresh your font settings. If Emacs still can't find your font, it likely ;; wasn't installed correctly. Font issues are rarely Doom issues! +(setq doom-font (font-spec :family "JetBrains Mono" :size 15)) + +(custom-theme-set-faces! +'doom-one +'(org-level-8 :inherit outline-3 :height 1.0) +'(org-level-7 :inherit outline-3 :height 1.0) +'(org-level-6 :inherit outline-3 :height 1.1) +'(org-level-5 :inherit outline-3 :height 1.2) +'(org-level-4 :inherit outline-3 :height 1.3) +'(org-level-3 :inherit outline-3 :height 1.4) +'(org-level-2 :inherit outline-2 :height 1.5) +'(org-level-1 :inherit outline-1 :height 1.6) +'(org-document-title :height 1.8 :bold t :underline nil)) + ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: (setq doom-theme 'doom-one) -(setq doom-font (font-spec :family "JetBrains Mono" :size 15)) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -41,7 +54,8 @@ ;; If you use `org' and don't want your org files in the default location below, ;; change `org-directory'. It must be set before org loads! -(setq org-directory "~/org/") + +(setq org-directory "~/nc/Org/") ;; Whenever you reconfigure a package, make sure to wrap your config in an diff --git a/.config/doom/init.el b/.config/doom/init.el index 6110eb0..a5cd3f9 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -154,7 +154,7 @@ ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel - org ; organize your plain life in plain text + (org +pretty) ; organize your plain life in plain text ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;graphviz ; diagrams for confusing yourself even more