From 8f40fa8cd6bca3b6f162859c8e92459056ea15ec Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sun, 26 Sep 2021 14:47:00 +0200 Subject: [PATCH] Load an optional emacs dashbaord png --- files/init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/files/init.el b/files/init.el index b4f3d17..d13e911 100644 --- a/files/init.el +++ b/files/init.el @@ -167,11 +167,12 @@ :straight t :config (dashboard-setup-startup-hook) - (setq dashboard-banner-logo-title "Welcome back, Marc." - dashboard-startup-banner 'logo + (setq dashboard-startup-banner 'logo dashboard-items '((agenda . 20)) dashboard-item-names '(("Agenda for the coming week:" . "Agenda:")) - dashboard-center-content t)) + dashboard-center-content t) + (when (file-exists-p "~/.emacs.d/dashboard.png") + (setq dashboard-startup-banner "~/.emacs.d/dashboard.png"))) ;; show color codes (use-package rainbow-mode