From f8bf86e1a34fccbbee96b94a8f928222201ff06b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 16 Feb 2018 21:02:24 -0500 Subject: [PATCH] ui/doom-dashboard: add button to open private module --- modules/ui/doom-dashboard/config.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index 374a0c6f8..410d1c6bd 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -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))))))