diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-08-30 12:46:43 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-08-30 12:46:43 +0100 |
commit | b5c2acdbe9c4d10627d902a5dda0c2b1804771ff (patch) | |
tree | d022ade45a89b5629f5b8f70cccd3c32c7c04340 /.emacs.d | |
parent | 4b475ca1abea3e7b81865c15a9da433fbc782c5d (diff) | |
download | dotfiles-b5c2acdbe9c4d10627d902a5dda0c2b1804771ff.tar.gz |
Remove dashboard
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 7 | ||||
-rw-r--r-- | .emacs.d/lisp/init-dashboard.el | 22 |
2 files changed, 6 insertions, 23 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index b64ab90..06829d1 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -18,6 +18,12 @@ (add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory)) +(add-hook 'emacs-startup-hook + (lambda () + (message "%s packages loaded in %0.1f seconds" + (length package-activated-list) + (string-to-number (emacs-init-time))))) + (add-hook 'after-init-hook #'(lambda () (setq gc-cons-threshold (* 100 1024 1024) gc-cons-percentage 0.1))) @@ -32,7 +38,6 @@ (require 'init-windows) (require 'init-project) (require 'init-modeline) -(require 'init-dashboard) (require 'init-completion) (require 'init-minibuffer) (require 'init-kill) diff --git a/.emacs.d/lisp/init-dashboard.el b/.emacs.d/lisp/init-dashboard.el deleted file mode 100644 index 63cacc6..0000000 --- a/.emacs.d/lisp/init-dashboard.el +++ /dev/null @@ -1,22 +0,0 @@ -;;; init-dashboard.el --- Dashboard Configuration File -*- lexical-binding: t -*- -;;; Commentary: -;;; Code: - -(use-package dashboard - :init - (setq dashboard-center-content t - dashboard-startup-banner 'logo - dashboard-set-footer nil - dashboard-week-agenda t - dashboard-projects-backend 'project-el - dashboard-projects-switch-function 'switch-project - dashboard-items '((recents . 15) - (bookmarks . 5) - (projects . 5) - (agenda . 5) - (registers . 5))) - :config - (dashboard-setup-startup-hook)) - -(provide 'init-dashboard) -;;; init-dashboard.el ends here |