Better modeline.

This commit is contained in:
Mateus Pinto Rodrigues
2019-12-09 18:09:35 -03:00
parent c89010a35b
commit 21ef1d5c7b
2 changed files with 16 additions and 0 deletions

View File

@@ -20,8 +20,13 @@
(load "~/.emacs.d/elisp/exwm-setup.el"))
;; modeline
;; configure the default one
(load "~/.emacs.d/elisp/modeline-setup.el")
;; then use doom-modeline
(use-package all-the-icons)
(use-package doom-modeline
:config
(setq doom-modeline-buffer-encoding nil)
:hook
(after-init . doom-modeline-mode))

11
elisp/modeline-setup.el Normal file
View File

@@ -0,0 +1,11 @@
;; Show date and use 24 hours format
(setq display-time-day-and-date 1)
(setq display-time-24hr-format 1)
;; Don't show load average
(setq display-time-default-load-average nil)
;; Don't check for mail (we will use doom-modeline for that)
(setq display-time-mail-file 1)
;; Show time and battery on modeline
(display-time-mode 1)
(display-battery-mode 1)