From a2e5a05bb603f5516e4b0aac6383f79ca9baf176 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 25 May 2019 10:00:49 -0400 Subject: [PATCH] FIX dashboard now uses list of straight-built packages to determine number of activated packages --- etc/conf.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/conf.org b/etc/conf.org index b5fea83..915e6f3 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -438,6 +438,10 @@ Instead use a dashboard, and display days until predicted death...you know, as a (use-package dashboard :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 (setq dashboard-banner-logo-title nil dashboard-startup-banner (no-littering-expand-etc-file-name