From 27a2755eb42ac5a93bcb4734de3f34f000768f72 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 15 Sep 2023 15:38:33 +0200 Subject: [PATCH] Adapt to the upstream change in the icon font --- +ui.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/+ui.el b/+ui.el index 6c312b4..9ec091f 100644 --- a/+ui.el +++ b/+ui.el @@ -39,7 +39,7 @@ ;; Modify the splash screen actions (setq +doom-dashboard-menu-sections '(("Reload last session" - :icon (all-the-icons-octicon "history" :face 'doom-dashboard-menu-title) + :icon (nerd-icons-octicon "nf-oct-history" :face 'doom-dashboard-menu-title) :when (cond ((modulep! :ui workspaces) (file-exists-p (expand-file-name persp-auto-save-fname persp-save-dir))) ((require 'desktop nil t) @@ -47,24 +47,24 @@ :face (:inherit (doom-dashboard-menu-title bold)) :action doom/quickload-session) ("Open org-agenda" - :icon (all-the-icons-octicon "calendar" :face 'doom-dashboard-menu-title) + :icon (nerd-icons-octicon "nf-oct-calendar" :face 'doom-dashboard-menu-title) :when (fboundp 'org-agenda) :action org-agenda) ("Recently opened files" - :icon (all-the-icons-octicon "file-text" :face 'doom-dashboard-menu-title) + :icon (nerd-icons-faicon "nf-fa-file_text" :face 'doom-dashboard-menu-title) :action recentf-open-files) ("Open email client" - :icon (all-the-icons-octicon "mail" :face 'doom-dashboard-menu-title) + :icon (nerd-icons-octicon "nf-oct-mail" :face 'doom-dashboard-menu-title) :when (featurep! :email mu4e) :face (:inherit (doom-dashboard-menu-title bold)) :action =mu4e) ("RSS reader" - :icon (all-the-icons-octicon "rss" :face 'doom-dashboard-menu-title) + :icon (nerd-icons-octicon "nf-oct-rss" :face 'doom-dashboard-menu-title) :when (featurep! :app rss) :face (:inherit (doom-dashboard-menu-title bold)) :action =rss) ("Read saved articles" - :icon (all-the-icons-octicon "book" :face 'doom-dashboard-menu-title) + :icon (nerd-icons-octicon "nf-oct-book" :face 'doom-dashboard-menu-title) :face (:inherit (doom-dashboard-menu-title bold)) :action =wallabag))) ;; Restore previous session without confirmation @@ -74,6 +74,6 @@ (doom-load-session) (message "Session restored. Welcome back.")) ;; Decrease size of icons in the modeline -(setq all-the-icons-scale-factor 1.0) +(setq nerd-icons-scale-factor 1.0) ;; Increase size of the PlatformIO compilation buffer (set-popup-rule! "*platformio*" :size 0.25 :vslot -4 :select t :quit t :ttl 0)