Customise DOOM dashboard
Change icons to use material design
This commit is contained in:
parent
72a71caa6a
commit
91bb3d15eb
|
@ -30,6 +30,36 @@
|
|||
(set-frame-parameter nil 'alpha-background 80)
|
||||
(add-to-list 'default-frame-alist '(alpha-background . 80))
|
||||
|
||||
;; DOOM Dashboard customisation
|
||||
(setq +doom-dashboard-menu-sections
|
||||
'(("Recently opened files"
|
||||
:icon (nerd-icons-mdicon "nf-md-file_document" :face 'doom-dashboard-menu-title)
|
||||
:action recentf-open-files)
|
||||
("Reload last session"
|
||||
:icon (nerd-icons-mdicon "nf-md-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)
|
||||
(file-exists-p (desktop-full-file-name))))
|
||||
:action doom/quickload-session)
|
||||
("Open org-agenda"
|
||||
:icon (nerd-icons-mdicon "nf-md-calendar" :face 'doom-dashboard-menu-title)
|
||||
:when (fboundp 'org-agenda)
|
||||
:action org-agenda)
|
||||
("Open project"
|
||||
:icon (nerd-icons-mdicon "nf-md-briefcase" :face 'doom-dashboard-menu-title)
|
||||
:action projectile-switch-project)
|
||||
("Jump to bookmark"
|
||||
:icon (nerd-icons-mdicon "nf-md-bookmark" :face 'doom-dashboard-menu-title)
|
||||
:action bookmark-jump)
|
||||
("Open private configuration"
|
||||
:icon (nerd-icons-mdicon "nf-md-tools" :face 'doom-dashboard-menu-title)
|
||||
:when (file-directory-p doom-user-dir)
|
||||
:action doom/open-private-config)
|
||||
("Open documentation"
|
||||
:icon (nerd-icons-mdicon "nf-md-book" :face 'doom-dashboard-menu-title)
|
||||
:action doom/help)))
|
||||
|
||||
(after! gnus
|
||||
(setq gnus-select-method '(nntp "news.gnus.org")))
|
||||
|
||||
|
|
Loading…
Reference in a new issue