Use doom-modeline
This commit is contained in:
parent
a857bc65c6
commit
46273c0718
11
init.el
11
init.el
@ -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.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
@ -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))
|
||||
|
||||
)
|
||||
|
Reference in New Issue
Block a user