Emacs: make doom-modeline setup look close to previous version
Alan Pearce alan@alanpearce.eu
Wed, 24 May 2023 13:18:27 +0200
1 files changed, 5 insertions(+), 4 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -114,19 +114,20 @@ (line-number-mode -1) (use-package nerd-icons :config (progn - (setq nerd-icons-color-icons nil - nerd-icons-scale-factor 1.2))) + (setq nerd-icons-color-icons t + nerd-icons-scale-factor 1.3))) (use-package doom-modeline :hook (emacs-startup . doom-modeline-mode) :config (progn (setq doom-modeline-buffer-file-name-style 'relative-from-project - doom-modeline-buffer-encoding nil + doom-modeline-buffer-encoding 'nondefault doom-modeline-buffer-modification-icon nil + doom-modeline-checker-simple-format t doom-modeline-percent-position nil doom-modeline-project-detection 'projectile doom-modeline-vcs-max-length 24 - doom-modeline-env-version nil) + doom-modeline-height 28) (let ((foreground (face-attribute 'font-lock-comment-face :foreground))) (set-face-attribute 'doom-modeline-buffer-modified nil :foreground foreground))))