Use doom-modeline

This commit is contained in:
Wojciech Kozlowski 2018-07-07 19:06:37 +01:00
parent a857bc65c6
commit 46273c0718
2 changed files with 13 additions and 13 deletions

11
init.el
View File

@ -60,17 +60,6 @@
;; Load the dark theme by default.
(load-theme 'havoc-dark t) ;; Load personal theme
;; Modeline -----------------------------------------------------------------
(size-indication-mode 1)
(column-number-mode 1)
;; TODO figure out how to deal with powerline not being installed by default
(use-package powerline
:ensure t
:init
(powerline-default-theme))
;; --------------------------------------------------------------------------
;; Change file in which custom variable changes are saved.
;; --------------------------------------------------------------------------

View File

@ -17,7 +17,10 @@
(setq emodule/modeline-packages
'(powerline)
'(
all-the-icons
doom-modeline
)
)
@ -25,6 +28,14 @@
(defun emodule/modeline-init ()
;; Note that doom-modeline requires all-the-icons which in turn require the
;; user to manually install the fonts with the command `M-x
;; all-the-icons-install-fonts'.
(use-package doom-modeline
:defer t
:config
(setq-default doom-modeline-height 23)
:hook
(after-init . doom-modeline-init))
)