summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-02-18 02:48:25 +0100
committercashmere <cashmere@autistici.org>2026-02-18 02:48:25 +0100
commit4000c2bdd94dc52714798576014e3f46d9c8664e (patch)
tree76c69e40cdd132037fe3f0d8d95d1dbb1855bd22 /config.org
parent0c4ef333c7fff5764864f92c332fc1752ba393af (diff)
downloademacs-4000c2bdd94dc52714798576014e3f46d9c8664e.tar.gz
fix dashboard to use projectile projects instead of project-el
Switch dashboard-projects-backend back to projectile and use projectile-switch-project-by-name so the dashboard shows the actual known projectile projects. Reorder items to show projects first.
Diffstat (limited to 'config.org')
-rw-r--r--config.org12
1 files changed, 5 insertions, 7 deletions
diff --git a/config.org b/config.org
index 72137ae..df070d8 100644
--- a/config.org
+++ b/config.org
@@ -339,13 +339,11 @@
(setq dashboard-image-banner-max-height 256)
(setq dashboard-bookmarks-show-base t)
(setq dashboard-bookmarks-item-format "%s")
- (setq dashboard-projects-backend 'project-el)
- (setq dashboard-items '((bookmarks . 5)
- (projects . 5)
- (recents . 5)))
- (setq dashboard-projects-switch-function
- (lambda (proj)
- (project-switch-project proj)))
+ (setq dashboard-projects-backend 'projectile)
+ (setq dashboard-items '((projects . 5)
+ (recents . 5)
+ (bookmarks . 5)))
+ (setq dashboard-projects-switch-function #'projectile-switch-project-by-name)
(setq dashboard-center-content t)
(setq dashboard-set-file-icons t)
(setq dashboard-set-heading-icons t)