Fix org fontification and default font

This commit is contained in:
JLP 2025-08-20 15:16:11 -04:00
parent 0f529d9a53
commit a3693b9c89
Signed by: jleechpe
GPG key ID: 414E00D1FF7519DC
2 changed files with 9 additions and 4 deletions

View file

@ -27,7 +27,7 @@
(add-to-list 'load-path user-secure-config-dir)
;; ** UI Variables
(defcustom emacs-font "Fira Code Nerd Font" "Font to use"
(defcustom emacs-font "SauceCode Pro Nerd Font" "Font to use"
:type 'string
:group 'config-ui)
(defcustom emoji-font "Noto Color Emoji" "Font for emojis/icons"

View file

@ -186,8 +186,8 @@ are defining or executing a macro."
;; ** Font
(set-fontset-font t nil emoji-font)
(set-face-attribute 'default nil
:family emacs-font
:height 110
:family "SauceCode Pro Nerd Font";emacs-font
:height 120
:weight 'normal
:width 'normal)
@ -465,6 +465,7 @@ are defining or executing a macro."
;; ** Wakatime
(use-package wakatime-mode
:disabled t
:init
(global-wakatime-mode 1))
@ -989,7 +990,7 @@ methods the save hook cannot detect, like file synchronization."
(dir (file-name-nondirectory (directory-file-name
(file-name-directory file)))))
(concat (propertize " " 'display `(space :align-to center))
title " " (format "%S" aliases) " "
title " " (format "%S" aliases) " " (format "%S" tags)
(format "B:%s" blinks)
" "
(format "F:%s" flinks)
@ -1003,6 +1004,9 @@ methods the save hook cannot detect, like file synchronization."
(org-after-todo-statistics . my/org-statistics-update)
(org-checkbox-statistics . my/org-checkbox-statistics-update)
(org-mode . my/abbrev-completion-completers))
:init
(setq org-emphasis-regexp-components
'("-[:space:]('\"{" "-[:space:].,:!?;'\")}\\[" "[:space:]" "." 5))
:config
(push 'org-self-insert-command completion-preview-commands)
(add-to-list 'org-modules 'org-habit)
@ -1041,6 +1045,7 @@ methods the save hook cannot detect, like file synchronization."
org-agenda-include-diary nil
org-agenda-span 'day
org-hide-leading-stars t
org-fontify-quote-and-verse-blocks t
;; ID Links
org-id-link-to-org-use-id 'create-if-interactive