add config-dir variable and change load-path to use it
This commit is contained in:
@@ -171,7 +171,7 @@ DISPLAY-START: `integer', e.g. 3820"
|
||||
:defer t)
|
||||
|
||||
(use-package all-the-icons
|
||||
:load-path "lisp/all-the-icons"
|
||||
:load-path (lambda() (concat config-dir "lisp/all-the-icons"))
|
||||
:defer t
|
||||
:config
|
||||
(when (and (not (my-font-installed-p "all-the-icons"))
|
||||
@@ -181,7 +181,7 @@ DISPLAY-START: `integer', e.g. 3820"
|
||||
))
|
||||
|
||||
(use-package dashboard
|
||||
:load-path "lisp/dashboard"
|
||||
:load-path (lambda() (concat config-dir "lisp/dashboard"))
|
||||
:delight (dashboard-mode "🅓")
|
||||
:config
|
||||
;; because we use `use-package' include `use-package-statistics' if computed
|
||||
|
||||
Reference in New Issue
Block a user