FIX actually fix the dashboard packages-installed bug

This commit is contained in:
ndwarshuis 2019-05-26 14:19:42 -04:00
parent a2e5a05bb6
commit 77f859c3d7
1 changed files with 2 additions and 5 deletions

View File

@ -435,13 +435,10 @@ Instead use a dashboard, and display days until predicted death...you know, as a
(/ it 86400) (/ it 86400)
(round it) (round it)
(format "%s days until death" it))))) (format "%s days until death" it)))))
(use-package dashboard (use-package dashboard
:straight t :straight t
;; trick the banner to think activated packages are those built by straight :after package
;; TODO this is a silly hack and probably not necessary in the long run
;; (why do I care about how many packages are loaded?)
:init (setq package-activated-list (hash-table-count straight--build-cache))
:config :config
(setq dashboard-banner-logo-title nil (setq dashboard-banner-logo-title nil
dashboard-startup-banner (no-littering-expand-etc-file-name dashboard-startup-banner (no-littering-expand-etc-file-name