From dde48d28ec1f91e25306dfc54d8155243d723689 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sun, 8 Aug 2021 20:26:25 +0200 Subject: [PATCH] Show icons in daemon emacs --- files/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/files/init.el b/files/init.el index 6cd240f..224392c 100644 --- a/files/init.el +++ b/files/init.el @@ -146,9 +146,15 @@ (use-package doom-modeline :straight t :config - (setq doom-modeline-height 25) (doom-modeline-mode 1)) +; show icons in daemonized emacs +(defun enable-doom-modeline-icons (_frame) + (setq doom-modeline-icon t)) + +(add-hook 'after-make-frame-functions + #'enable-doom-modeline-icons) + ;; show color codes (use-package rainbow-mode :straight t