Modify the splash screen actions

This commit is contained in:
coolneng 2022-09-17 12:33:44 +02:00
parent b2125f273e
commit e45de2f636
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 16 additions and 0 deletions

16
+ui.el
View File

@ -40,3 +40,19 @@
(set-popup-rule! "^\\*vterm" :size 0.1 :vslot -4 :select t :quit nil :ttl 0)
;; Show matching parenthesis on the minibuffer
(after! smartparens (show-smartparens-global-mode t))
;; Modify the splash screen actions
(assoc-delete-all "Jump to bookmark" +doom-dashboard-menu-sections)
(assoc-delete-all "Open private configuration" +doom-dashboard-menu-sections)
(assoc-delete-all "Open documentation" +doom-dashboard-menu-sections)
(add-to-list '+doom-dashboard-menu-sections
'("Open email client"
:icon (all-the-icons-octicon "mail" :face 'doom-dashboard-menu-title)
:when (featurep! :email mu4e)
:face (:inherit (doom-dashboard-menu-title bold))
:action =mu4e) t)
(add-to-list '+doom-dashboard-menu-sections
'("RSS reader"
:icon (all-the-icons-octicon "rss" :face 'doom-dashboard-menu-title)
:when (featurep! :app rss)
:face (:inherit (doom-dashboard-menu-title bold))
:action elfeed) t)