summaryrefslogtreecommitdiff
path: root/modules/dashboard-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-15 12:46:20 -0600
committerCraig Jennings <c@cjennings.net>2026-02-15 12:46:20 -0600
commit3bccc97ab3303d0108583e92c538812c04f84cef (patch)
tree143694645f4304aca2074e9f85274fe53a056f7a /modules/dashboard-config.el
parent01b91bcda9f665c5a132dec9cb0c602e9bf77cf5 (diff)
feat(dashboard,calibredb): reorganize nav buttons, tweak display settings
Dashboard: reorder nav rows (Code/Email/Agenda/Files/Music, Feeds/IRC/ Flashcards/Books/Terminal), show 10 recent files with filename only, exclude EMMS history from recents. Calibredb: use bookmark emoji for favorites, change favorite keyword to in-progress.
Diffstat (limited to 'modules/dashboard-config.el')
-rw-r--r--modules/dashboard-config.el45
1 files changed, 24 insertions, 21 deletions
diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el
index b8ee91d9..3dcc6b6b 100644
--- a/modules/dashboard-config.el
+++ b/modules/dashboard-config.el
@@ -85,8 +85,8 @@ Adjust this if the title doesn't appear centered under the banner image.")
(recents . dashboard-insert-recents)))
(dashboard-items '((projects . 5)
- (bookmarks . 10)
- (recents . 5)))
+ (bookmarks . 5)
+ (recents . 10)))
(dashboard-startupify-list
'(dashboard-insert-banner
@@ -111,6 +111,9 @@ Adjust this if the title doesn't appear centered under the banner image.")
(setq dashboard-icon-type 'nerd-icons) ;; use `nerd-icons' package
(setq dashboard-center-content t) ;; horizontally center dashboard content
(setq dashboard-bookmarks-show-path nil) ;; don't show paths in bookmarks
+ (setq dashboard-recentf-show-base t) ;; show filename, not full path
+ (setq dashboard-recentf-item-format "%s")
+ (setq recentf-exclude '("/emms/history")) ;; exclude EMMS history from recent files
(setq dashboard-set-footer nil) ;; don't show footer and quotes
;; == banner
@@ -126,7 +129,7 @@ Adjust this if the title doesn't appear centered under the banner image.")
(lambda (&rest _) (projectile-switch-project))
nil " " "")
- (,(nerd-icons-faicon "nf-fa-envelope")
+ (,(nerd-icons-faicon "nf-fa-envelope")
"Email" "Mu4e Email Client"
(lambda (&rest _) (mu4e))
nil " " "")
@@ -136,20 +139,20 @@ Adjust this if the title doesn't appear centered under the banner image.")
(lambda (&rest _) (cj/main-agenda-display))
nil " " "")
- (,(nerd-icons-mdicon "nf-md-school")
- "Flashcards" "Org-Drill"
- (lambda (&rest _) (cj/drill-start))
+ (,(nerd-icons-faicon "nf-fa-folder_o")
+ "Files" "Dirvish File Manager"
+ (lambda (&rest _) (dirvish user-home-dir))
nil " " "")
- (,(nerd-icons-faicon "nf-fae-book_open_o")
- "Books" "Calibre Ebook Reader"
- (lambda (&rest _) (calibredb))
+ (,(nerd-icons-mdicon "nf-md-music")
+ "Music" "EMMS Music Player"
+ (lambda (&rest _) (cj/music-playlist-toggle) (cj/music-playlist-load))
nil " " ""))
;; Row 2
((,(nerd-icons-faicon "nf-fa-rss_square")
- "RSS/Feeds" "Elfeed Feed Reader"
- (lambda (&rest _) (cj/elfeed-open))
+ "Feeds" "Elfeed Feed Reader"
+ (lambda (&rest _) (cj/elfeed-open))
nil " " "")
(,(nerd-icons-faicon "nf-fa-comments")
@@ -157,19 +160,19 @@ Adjust this if the title doesn't appear centered under the banner image.")
(lambda (&rest _) (cj/erc-switch-to-buffer-with-completion))
nil " " "")
- (,(nerd-icons-devicon "nf-dev-terminal")
- "Terminal" "Launch VTerm"
- (lambda (&rest _) (vterm))
+ (,(nerd-icons-mdicon "nf-md-school")
+ "Flashcards" "Org-Drill"
+ (lambda (&rest _) (cj/drill-start))
nil " " "")
- ;; (,(nerd-icons-faicon "nf-fae-telegram")
- ;; "Telegram" "Telega Chat Client"
- ;; (lambda (&rest _) (telega))
- ;; nil " " "")
+ (,(nerd-icons-faicon "nf-fae-book_open_o")
+ "Books" "Calibre Ebook Reader"
+ (lambda (&rest _) (calibredb))
+ nil " " "")
- (,(nerd-icons-faicon "nf-fa-folder_o")
- "Directory/Files" "Dirvish File Manager"
- (lambda (&rest _) (dirvish user-home-dir))
+ (,(nerd-icons-devicon "nf-dev-terminal")
+ "Terminal" "Launch VTerm"
+ (lambda (&rest _) (vterm))
nil " " ""))))
;; == content