FIX dashboard now uses list of straight-built packages to determine
number of activated packages
This commit is contained in:
parent
54fe5f30c7
commit
a2e5a05bb6
|
@ -438,6 +438,10 @@ Instead use a dashboard, and display days until predicted death...you know, as a
|
||||||
|
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:straight t
|
:straight t
|
||||||
|
;; trick the banner to think activated packages are those built by straight
|
||||||
|
;; 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
|
||||||
|
|
Loading…
Reference in New Issue