Add battery and time to emacs modeline

This commit is contained in:
Evie Litherland-Smith 2023-11-16 06:17:49 +00:00
parent 2e01e9aee8
commit 0a5f55fbda
2 changed files with 9 additions and 2 deletions

View file

@ -233,7 +233,10 @@
doom-modeline-persp-icon nil) doom-modeline-persp-icon nil)
(use-package doom-modeline (use-package doom-modeline
:ensure t :ensure t
:config (doom-modeline-mode +1)) :config
(doom-modeline-mode +1)
(display-time-mode +1)
(display-battery-mode +1))
(use-package darkroom (use-package darkroom
:ensure t :ensure t
@ -441,6 +444,7 @@
("C-c g f" . magit-file-dispatch) ("C-c g f" . magit-file-dispatch)
("C-c g p" . magit-pull) ("C-c g p" . magit-pull)
("C-c g P" . magit-push) ("C-c g P" . magit-push)
("<remap> <project-vc-dir" . magit-project-status)
:map project-prefix-map :map project-prefix-map
("m" . magit-project-status)) ("m" . magit-project-status))
:config :config

View file

@ -267,7 +267,10 @@
doom-modeline-persp-icon nil) doom-modeline-persp-icon nil)
(use-package doom-modeline (use-package doom-modeline
:ensure t :ensure t
:config (doom-modeline-mode +1)) :config
(doom-modeline-mode +1)
(display-time-mode +1)
(display-battery-mode +1))
#+end_src #+end_src
** Darkroom ** Darkroom