diff options
| author | BardofSprites <[email protected]> | 2024-08-28 08:20:00 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2024-08-28 08:20:00 -0400 |
| commit | 8931891baf6de00646e6c1961e45b1368d80ce7f (patch) | |
| tree | d13076a75e6dcf08f194a41276f7132813a9c391 /bard-emacs-modules | |
| parent | c43fde50ac9cf4b546d348bc882785a94c8c64e1 (diff) | |
restore dashboard
Diffstat (limited to 'bard-emacs-modules')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-dashboard.el | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-dashboard.el b/bard-emacs-modules/bard-emacs-dashboard.el new file mode 100644 index 0000000..87f9044 --- /dev/null +++ b/bard-emacs-modules/bard-emacs-dashboard.el @@ -0,0 +1,32 @@ +(require 'bard-dashboard) + +(use-package dashboard + :ensure t + :config + (define-key global-map (kbd "<home>") #'dashboard-open) + (define-key global-map (kbd "C-z d") #'dashboard-open) + (setq initial-buffer-choice 'dashboard-open) + (dashboard-setup-startup-hook) + (setq dashboard-startup-banner "~/.emacs.d/img/emacslogo.png") + (setq dashboard-banner-logo-width 50) + (setq dashboard-banner-logo-height 50) + (setq dashboard-center-content t) + ;; dashboar items + (setq dashboard-items '((recents . 5) + (agenda . 5))) + + ;; Insert custom item + (add-to-list 'dashboard-item-generators '(custom . dashboard-insert-custom)) + (add-to-list 'dashboard-items '(custom) t) + + (setq dashboard-banner-logo-title "Time for another recreational programming session.") + (setq dashboard-startupify-list '(dashboard-insert-banner + dashboard-insert-newline + dashboard-insert-banner-title + dashboard-insert-newline + dashboard-insert-items + dashboard-insert-newline)) + + (setq dashboard-set-init-info nil)) + +(provide 'bard-emacs-dashboard) |
