From 8bfb4d86bf9e62479ede35ffe92c25dac6552faa Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 4 Sep 2024 07:05:37 -0700 Subject: [PATCH] fixing fonts --- .config/doom/config.el | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index f6ac224..e812d04 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -24,9 +24,9 @@ (add-hook mode (lambda () (display-line-numbers-mode 0)))) ;; Font configuration -(set-face-attribute 'default nil :font "Terminus" :height 200 :weight 'regular) -(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 1.0 :weight 'regular) -(set-face-attribute 'variable-pitch nil :font "ETBookOT" :height 200 :weight 'regular) +(set-face-attribute 'default nil :font "Terminus" :height 200) +(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 200) +(set-face-attribute 'variable-pitch nil :font "ETBookOT" :height 200) (defun opal/org-font-setup () ;; Replace list hyphen with dot @@ -173,7 +173,7 @@ (browse-url-firefox link) (message "No link to open.")))) -(defun opal/my-elfeed-mark-all-read () +(defun opal/elfeed-mark-all-read () (interactive) (elfeed-untag elfeed-search-entries 'unread) (elfeed-search-update :force)) ; redraw @@ -183,11 +183,12 @@ (("C-c e" . elfeed) ("C-c f" . opal/elfeed-open-in-firefox)) :config - ;; Set fonts - (set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200) - (set-face-attribute 'elfeed-search-title-face nil :inherit 'variable-pitch :height 200) - (set-face-attribute 'elfeed-search-feed-face nil :inherit 'variable-pitch :height 200) - (set-face-attribute 'elfeed-nil :inherit 'variable-pitch :height 200) + ;; Ensure faces are set after elfeed has loaded + (with-eval-after-load 'elfeed + (set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200) + (set-face-attribute 'elfeed-search-title-face nil :inherit 'variable-pitch :height 200) + (set-face-attribute 'elfeed-search-feed-face nil :inherit 'variable-pitch :height 200)) + ;; Set your feeds (setq elfeed-feeds '( @@ -198,11 +199,12 @@ ;; Reddit ("https://www.reddit.com/r/stupidpol/.rss" reddit politics) + ("https://www.reddit.com/r/emacs/.rss" reddit politics) ;; News ("https://thegrayzone.com/rss" news politics) - ("https://multipolarista.com/rss" news politics) - ;;("https://www.telesurenglish.net/feed/" news politics) + ("https://geopoliticaleconomy.com/rss" news politics) + ("https://www.telesurenglish.net/feed/" news politics) ("https://theintercept.com/feed/" news politics) ("https://www.dropsitenews.com/feed" news politics) @@ -218,7 +220,7 @@ ("https://feeds.feedburner.com/dancarlin/history?format=xml" podcast history) ;; YouTube - ("https://www.youtube.com/channel/UC_bOcLgDdfE1whPDIwx3M_g" youtube travel) + ("https://www.youtube.com/feeds/videos.xml?channel_id=UC_bOcLgDdfE1whPDIwx3M_g" youtube travel) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC8uT9cgJorJPWu7ITLGo9Ww" youtube tech retro) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC0aanx5rpr7D1M7KCFYzrLQ" youtube commentary politics) ))