all repos — nixfiles @ b5b00f6917f792cb83ea0015349afa84b553cead

System and user configuration, managed by nix and home-manager

Emacs: make doom-modeline setup look close to previous version
Alan Pearce alan@alanpearce.eu
Wed, 24 May 2023 13:18:27 +0200
commit

b5b00f6917f792cb83ea0015349afa84b553cead

parent

3f6be3b842d2c5172c79f3603f74afa23990cbce

1 files changed, 5 insertions(+), 4 deletions(-)

jump to
M user/emacs/init.eluser/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))))