fixed fonts, packages, simplified doom config

This commit is contained in:
2025-12-16 08:37:55 -08:00
parent da94e1d7fb
commit ea135fa66c
3 changed files with 7 additions and 41 deletions

View File

@@ -6,7 +6,7 @@ size = 16
[font.normal] [font.normal]
family = "Victor Mono" family = "Victor Mono"
style = "Medium Italic" style = "Medium Normal"
[font.offset] [font.offset]
x = 0 x = 0

View File

@@ -41,21 +41,8 @@
(add-hook mode (lambda () (display-line-numbers-mode 0)))) (add-hook mode (lambda () (display-line-numbers-mode 0))))
;; Font Config ;; Font Config
(set-face-attribute 'default nil (setq doom-font (font-spec :family "Victor Mono" :size 22 :weight 'medium)
:family "Victor Mono" doom-variable-pitch-font (font-spec :family "Victor Mono" :size 22 :weight 'medium :slant 'italic))
:weight 'medium
:slant 'italic
:height 170)
(set-face-attribute 'fixed-pitch nil
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height 1.0)
(set-face-attribute 'variable-pitch nil
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height 1.0)
(defun opal/org-font-setup () (defun opal/org-font-setup ()
;; Replace list hyphen with dot ;; Replace list hyphen with dot
@@ -63,7 +50,7 @@
'(("^ *\\([-]\\) " '(("^ *\\([-]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1) (0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
"")))))) ""))))))
;; Set faces for heading levels - all Victor Mono now ;; Set heading sizes only
(dolist (face '((org-level-1 . 1.2) (dolist (face '((org-level-1 . 1.2)
(org-level-2 . 1.1) (org-level-2 . 1.1)
(org-level-3 . 1.05) (org-level-3 . 1.05)
@@ -72,21 +59,7 @@
(org-level-6 . 1.1) (org-level-6 . 1.1)
(org-level-7 . 1.1) (org-level-7 . 1.1)
(org-level-8 . 1.1))) (org-level-8 . 1.1)))
(set-face-attribute (car face) nil (set-face-attribute (car face) nil :height (cdr face)))
:family "Victor Mono"
:weight 'medium
:slant 'italic
:height (cdr face)))
;; Set properties and scheduling faces
(set-face-attribute 'org-property-value nil :inherit 'default :height 150)
(set-face-attribute 'org-special-keyword nil :inherit 'default :height 150)
(set-face-attribute 'org-scheduled-today nil :inherit 'default :height 150)
(set-face-attribute 'org-drawer nil :inherit 'default :height 150)
(set-face-attribute 'org-date nil :inherit 'default :height 150)
(set-face-attribute 'org-ellipsis nil
:foreground "#928374"
:underline nil)
;; Ensure that all agenda items inherit default ;; Ensure that all agenda items inherit default
(custom-set-faces (custom-set-faces
@@ -105,8 +78,8 @@
(defun opal/org-mode-setup () (defun opal/org-mode-setup ()
(org-indent-mode) (org-indent-mode)
(visual-line-mode 1)) (visual-line-mode 1)
;; (mixed-pitch-mode 1) (variable-pitch-mode 1))
(use-package org (use-package org
:commands (org-capture org-agenda) :commands (org-capture org-agenda)
@@ -139,8 +112,6 @@
("EASY" . (:foreground "MediumSeaGreen" :weight bold)) ("EASY" . (:foreground "MediumSeaGreen" :weight bold))
("DONE" . (:foreground "ForestGreen" :weight bold)))) ("DONE" . (:foreground "ForestGreen" :weight bold))))
(add-hook 'org-mode-hook #'org-make-toc-mode)
(setq org-agenda-custom-commands (setq org-agenda-custom-commands
'(("d" "GTD Dashboard" '(("d" "GTD Dashboard"
;; Begin list of blocks: ;; Begin list of blocks:

View File

@@ -2,17 +2,12 @@
(package! exec-path-from-shell) (package! exec-path-from-shell)
(package! org-bullets) (package! org-bullets)
(package! visual-fill-column) (package! visual-fill-column)
(package! org-make-toc)
(package! ef-themes) (package! ef-themes)
(package! org-drill) (package! org-drill)
(package! pomm)
(package! mixed-pitch) (package! mixed-pitch)
(package! guess-language) (package! guess-language)
(package! nov) (package! nov)
(package! google-translate) (package! google-translate)
(package! org-roam)
(package! eink-theme)
(package! notink-theme)
;; Remove ;; Remove
(package! dirvish :disable t) (package! dirvish :disable t)