summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-05-24 13:18:27 +0200
committerAlan Pearce2023-05-24 13:19:04 +0200
commitb5b00f6917f792cb83ea0015349afa84b553cead (patch)
treece21d1864126ff48f35f6bada186097abae00c5a
parent3f6be3b842d2c5172c79f3603f74afa23990cbce (diff)
downloadnixfiles-b5b00f6917f792cb83ea0015349afa84b553cead.tar.lz
nixfiles-b5b00f6917f792cb83ea0015349afa84b553cead.tar.zst
nixfiles-b5b00f6917f792cb83ea0015349afa84b553cead.zip
Emacs: make doom-modeline setup look close to previous version
-rw-r--r--user/emacs/init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 064517c0..f719a2f4 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -114,19 +114,20 @@
 
 (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))))