Customise how dashboard is started
This commit is contained in:
parent
7edc3efa2b
commit
f1b8a95546
|
@ -40,14 +40,13 @@
|
|||
(scroll-bar-mode -1)
|
||||
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12"))
|
||||
(global-prettify-symbols-mode +1)
|
||||
(global-word-wrap-whitespace-mode +1)
|
||||
(set-frame-parameter nil 'alpha-background 80)
|
||||
(add-to-list 'default-frame-alist '(alpha-background . 80))
|
||||
(when (require 'doom-themes nil :noerror) (load-theme 'doom-tokyo-night t))
|
||||
|
||||
;; Dashboard
|
||||
(when (require 'dashboard nil :noerror)
|
||||
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
|
||||
(dashboard-setup-startup-hook))
|
||||
(when (require 'dashboard nil :noerror) (setq initial-buffer-choice 'dashboard-open))
|
||||
|
||||
;; Extra minor-modes
|
||||
(when (require 'which-key nil :noerror) (which-key-mode +1))
|
||||
|
|
Loading…
Reference in a new issue