ui/doom-dashboard: add button to open private module

This commit is contained in:
Henrik Lissner 2018-02-16 21:02:24 -05:00
parent 2b43dd42e2
commit f8bf86e1a3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -303,5 +303,8 @@ controlled by `+doom-dashboard-pwd-policy'."
("Jump to bookmark" "bookmark"
(call-interactively (or (command-remapping #'bookmark-jump)
#'bookmark-jump)))
("Edit emacs.d" "tools"
,(when (featurep! :config private)
'("Open custom init script" "settings"
(find-file (expand-file-name "init.el" +private-config-path))))
("Edit Doom Emacs" "tools"
(doom-project-find-file doom-emacs-dir))))))