Add dashboard.el with config
This commit is contained in:
parent
18839ce93c
commit
83bf5e10e7
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,3 +19,4 @@
|
|||
/newsticker/
|
||||
/image-dired/
|
||||
/ellama-sessions/
|
||||
*.sqlite
|
||||
|
|
|
@ -203,7 +203,38 @@
|
|||
(when (battery-upower)
|
||||
(display-battery-mode +1))
|
||||
#+end_src
|
||||
|
||||
* Dashboard
|
||||
#+begin_src emacs-lisp
|
||||
(use-package dashboard
|
||||
:ensure t
|
||||
:custom
|
||||
(dashboard-banner-logo-title nil)
|
||||
(dashboard-banner-ascii "EMACS")
|
||||
(dashboard-startup-banner 2)
|
||||
(dashboard-center-content t)
|
||||
(dashboard-vertical-center-content t)
|
||||
(dashboard-show-shortcuts t)
|
||||
(dashboard-set-init-info t)
|
||||
(dashboard-icon-type 'nerd-icons)
|
||||
(dashboard-set-file-icons t)
|
||||
(dashboard-set-heading icons t) ; Need to fix octicon bug
|
||||
(dashboard-projects-backend 'project-el)
|
||||
(dashboard-week-agenda t)
|
||||
(dashboard-agenda-sort-strategy '(todo-state-up time-up))
|
||||
(dashboard-items '((projects . 5)
|
||||
(agenda . 5)
|
||||
(bookmarks . 5)))
|
||||
(dashboard-heading-icons '((recents . "nf-oct-history")
|
||||
(bookmarks . "nf-oct-bookmark")
|
||||
(agenda . "nf-oct-calendar")
|
||||
(projects . "nf-oct-rocket")
|
||||
(registers . "nf-oct-database")))
|
||||
:init
|
||||
(setq initial-buffer-choice #'(lambda ()
|
||||
(get-buffer-create "*dashboard*")))
|
||||
:config
|
||||
(dashboard-setup-startup-hook))
|
||||
#+end_src
|
||||
* Zone
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(use-package zone
|
||||
|
|
Loading…
Reference in a new issue