fixing fonts
This commit is contained in:
@@ -24,9 +24,9 @@
|
|||||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||||
|
|
||||||
;; Font configuration
|
;; Font configuration
|
||||||
(set-face-attribute 'default nil :font "Terminus" :height 200 :weight 'regular)
|
(set-face-attribute 'default nil :font "Terminus" :height 200)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 1.0 :weight 'regular)
|
(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 200)
|
||||||
(set-face-attribute 'variable-pitch nil :font "ETBookOT" :height 200 :weight 'regular)
|
(set-face-attribute 'variable-pitch nil :font "ETBookOT" :height 200)
|
||||||
|
|
||||||
(defun opal/org-font-setup ()
|
(defun opal/org-font-setup ()
|
||||||
;; Replace list hyphen with dot
|
;; Replace list hyphen with dot
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
(browse-url-firefox link)
|
(browse-url-firefox link)
|
||||||
(message "No link to open."))))
|
(message "No link to open."))))
|
||||||
|
|
||||||
(defun opal/my-elfeed-mark-all-read ()
|
(defun opal/elfeed-mark-all-read ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(elfeed-untag elfeed-search-entries 'unread)
|
(elfeed-untag elfeed-search-entries 'unread)
|
||||||
(elfeed-search-update :force)) ; redraw
|
(elfeed-search-update :force)) ; redraw
|
||||||
@@ -183,11 +183,12 @@
|
|||||||
(("C-c e" . elfeed)
|
(("C-c e" . elfeed)
|
||||||
("C-c f" . opal/elfeed-open-in-firefox))
|
("C-c f" . opal/elfeed-open-in-firefox))
|
||||||
:config
|
:config
|
||||||
;; Set fonts
|
;; Ensure faces are set after elfeed has loaded
|
||||||
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
(with-eval-after-load 'elfeed
|
||||||
(set-face-attribute 'elfeed-search-title-face nil :inherit 'variable-pitch :height 200)
|
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
||||||
(set-face-attribute 'elfeed-search-feed-face nil :inherit 'variable-pitch :height 200)
|
(set-face-attribute 'elfeed-search-title-face nil :inherit 'variable-pitch :height 200)
|
||||||
(set-face-attribute 'elfeed-nil :inherit 'variable-pitch :height 200)
|
(set-face-attribute 'elfeed-search-feed-face nil :inherit 'variable-pitch :height 200))
|
||||||
|
|
||||||
;; Set your feeds
|
;; Set your feeds
|
||||||
(setq elfeed-feeds
|
(setq elfeed-feeds
|
||||||
'(
|
'(
|
||||||
@@ -198,11 +199,12 @@
|
|||||||
|
|
||||||
;; Reddit
|
;; Reddit
|
||||||
("https://www.reddit.com/r/stupidpol/.rss" reddit politics)
|
("https://www.reddit.com/r/stupidpol/.rss" reddit politics)
|
||||||
|
("https://www.reddit.com/r/emacs/.rss" reddit politics)
|
||||||
|
|
||||||
;; News
|
;; News
|
||||||
("https://thegrayzone.com/rss" news politics)
|
("https://thegrayzone.com/rss" news politics)
|
||||||
("https://multipolarista.com/rss" news politics)
|
("https://geopoliticaleconomy.com/rss" news politics)
|
||||||
;;("https://www.telesurenglish.net/feed/" news politics)
|
("https://www.telesurenglish.net/feed/" news politics)
|
||||||
("https://theintercept.com/feed/" news politics)
|
("https://theintercept.com/feed/" news politics)
|
||||||
("https://www.dropsitenews.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)
|
("https://feeds.feedburner.com/dancarlin/history?format=xml" podcast history)
|
||||||
|
|
||||||
;; YouTube
|
;; 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=UC8uT9cgJorJPWu7ITLGo9Ww" youtube tech retro)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UC0aanx5rpr7D1M7KCFYzrLQ" youtube commentary politics)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UC0aanx5rpr7D1M7KCFYzrLQ" youtube commentary politics)
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user