adding config changes

This commit is contained in:
opal
2023-05-01 12:21:59 -07:00
parent 8299471a6e
commit caf77773dc
8 changed files with 25 additions and 17 deletions

View File

@@ -24,9 +24,9 @@
(setq browse-url-browser-function 'browse-url-generic
browse-url-generic-program "qutebrowser")
(set-face-attribute 'default nil :font "Hack Nerd Font" :height 130 :weight 'regular)
(set-face-attribute 'fixed-pitch nil :font "Hack Nerd Font" :height 1.0 :weight 'regular)
(set-face-attribute 'variable-pitch nil :font "Hack Nerd Font" :height 1.0 :weight 'bold)
(set-face-attribute 'default nil :font "Hack" :height 130 :weight 'regular)
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 1.0 :weight 'regular)
(set-face-attribute 'variable-pitch nil :font "Hack" :height 1.0 :weight 'bold)
(defun opal/org-font-setup ()
;; Replace list hyphen with dot
@@ -44,7 +44,7 @@
(org-level-6 . 1.1)
(org-level-7 . 1.1)
(org-level-8 . 1.1)))
(set-face-attribute (car face) nil :font "Hack Nerd Font" :weight 'regular :height (cdr face)))
(set-face-attribute (car face) nil :font "Hack" :weight 'regular :height (cdr face)))
;; Ensure that anything that should be fixed-pitch in Org files appears that way
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)