mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 10:36:12 +01:00
20 lines
488 B
Org Mode
20 lines
488 B
Org Mode
|
* Modeline
|
||
|
** Doom Modeline
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(use-package doom-modeline
|
||
|
:straight t
|
||
|
:config
|
||
|
(doom-modeline-mode)
|
||
|
(make-variable-buffer-local 'doom-modeline-icon)
|
||
|
(add-hook 'after-make-frame-hook
|
||
|
(lambda ()
|
||
|
(setq doom-modeline-icon (display-graphic-p)))))
|
||
|
#+END_SRC
|
||
|
** Display Battery and Time
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(display-time-mode)
|
||
|
(setq display-time-load-average nil)
|
||
|
|
||
|
(display-battery-mode)
|
||
|
#+END_SRC
|