From fc3550fa2d01f3d085bcfdf1c06f3b97ec02a2aa Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Mon, 20 Mar 2023 08:05:40 +0100 Subject: [PATCH] Tweak doom modeline and add icons --- .emacs.d/init.el | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 46f7098..08b35ce 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -45,6 +45,13 @@ :bind ("M-o" . ace-window)) +(use-package all-the-icons + :if window-system) + +(use-package all-the-icons-dired + :if window-system + :hook dired-mode) + (use-package avy :bind (("C-." . avy-goto-char-timer) @@ -91,7 +98,22 @@ (setq dired-dwim-target t)) (use-package doom-modeline - :hook after-init) + :if window-system + :hook after-init + :config + ;; (if (facep 'mode-line-active) + ;; (set-face-attribute 'mode-line-active nil :family "Iosevka Comfy" :height 200) + ;; (set-face-attribute 'mode-line nil :family "Iosevka Comfy" :height 130)) + ;; (set-face-attribute 'mode-line-inactive nil :family "Iosevka Comfy" :height 130) + + (setq doom-modeline-modal nil + doom-modeline-height 28 + doom-modeline-time-icon nil + doom-modeline-major-mode-icon nil + doom-modeline-percent-position nil + doom-modeline-buffer-encoding nil + doom-modeline-bar-width 1 + doom-modeline-major-mode-color-icon nil)) (use-package dumb-jump :config @@ -105,8 +127,7 @@ (1 . (variable-pitch light 1.5)) (2 . (variable-pitch semibold 1.2)) (t . (variable-pitch semibold 1.0)))) - (setq ef-themes-mixed-fonts t - ef-themes-variable-pitch-ui t) + (setq ef-themes-mixed-fonts t) (mapc #'disable-theme custom-enabled-themes) (load-theme 'ef-winter :no-confirm))