Switch back to doom-modeline

This commit is contained in:
Evie Litherland-Smith 2023-11-21 06:26:05 +00:00
parent adbcbc5a76
commit 3deed4c318
3 changed files with 4 additions and 46 deletions

View file

@ -72,7 +72,7 @@
nerd-icons-ibuffer nerd-icons-ibuffer
ligature ligature
page-break-lines page-break-lines
telephone-line doom-modeline
helpful helpful
which-key which-key
link-hint link-hint

View file

@ -177,7 +177,7 @@
;; `variable-pitch' face supports it ;; `variable-pitch' face supports it
(ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi")) (ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi"))
;; Enable all Cascadia and Fira Code ligatures in programming modes ;; Enable all Cascadia and Fira Code ligatures in programming modes
(ligature-set-ligatures 'prog-mode (ligature-set-ligatures '(prog-mode org-mode)
'(;; == === ==== => =| =>>=>=|=>==>> ==< =/=//=// =~ '(;; == === ==== => =| =>>=>=|=>==>> ==< =/=//=// =~
;; =:= =!= ;; =:= =!=
("=" (rx (+ (or ">" "<" "|" "/" "~" ":" "!" "=")))) ("=" (rx (+ (or ">" "<" "|" "/" "~" ":" "!" "="))))
@ -246,11 +246,9 @@
(display-battery-mode -1) (display-battery-mode -1)
(use-package doom-modeline (use-package doom-modeline
:disabled
:ensure t :ensure t
:custom :custom
(doom-modeline-icon t) (doom-modeline-icon t)
(doom-modeline-minor-modes t)
(doom-modeline-buffer-encoding 'nondefault) (doom-modeline-buffer-encoding 'nondefault)
(doom-modeline-enable-word-count t) (doom-modeline-enable-word-count t)
(doom-modeline-continuous-word-count-modes (doom-modeline-continuous-word-count-modes
@ -258,24 +256,6 @@
:config :config
(doom-modeline-mode +1)) (doom-modeline-mode +1))
(use-package telephone-line
:ensure t
:custom
(telephone-line-primary-left-separator 'telephone-line-flat)
(telephone-line-secondary-left-separator 'telephone-line-flat)
(telephone-line-primary-right-separator 'telephone-line-flat)
(telephone-line-secondary-right-separator 'telephone-line-flat)
(telephone-line-lhs '((accent . (telephone-line-vc-segment
telephone-line-process-segment))
(nil . (telephone-line-projectile-segment
telephone-line-buffer-segment))))
(telephone-line-rhs '((nil . (telephone-line-flycheck-segment
telephone-line-misc-info-segment))
(accent . (telephone-line-major-mode-segment))
(evil . (telephone-line-airline-position-segment))))
:config
(telephone-line-mode +1))
(use-package darkroom (use-package darkroom
:ensure t :ensure t
:bind (("C-c d" . darkroom-mode))) :bind (("C-c d" . darkroom-mode)))

View file

@ -218,7 +218,7 @@
;; `variable-pitch' face supports it ;; `variable-pitch' face supports it
(ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi")) (ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi"))
;; Enable all Cascadia and Fira Code ligatures in programming modes ;; Enable all Cascadia and Fira Code ligatures in programming modes
(ligature-set-ligatures 'prog-mode (ligature-set-ligatures '(prog-mode org-mode)
'(;; == === ==== => =| =>>=>=|=>==>> ==< =/=//=// =~ '(;; == === ==== => =| =>>=>=|=>==>> ==< =/=//=// =~
;; =:= =!= ;; =:= =!=
("=" (rx (+ (or ">" "<" "|" "/" "~" ":" "!" "=")))) ("=" (rx (+ (or ">" "<" "|" "/" "~" ":" "!" "="))))
@ -291,13 +291,11 @@
#+end_src #+end_src
*** Doom Modeline *** Doom Modeline
#+begin_src emacs-lisp #+begin_src emacs-lisp :tangle yes
(use-package doom-modeline (use-package doom-modeline
:disabled
:ensure t :ensure t
:custom :custom
(doom-modeline-icon t) (doom-modeline-icon t)
(doom-modeline-minor-modes t)
(doom-modeline-buffer-encoding 'nondefault) (doom-modeline-buffer-encoding 'nondefault)
(doom-modeline-enable-word-count t) (doom-modeline-enable-word-count t)
(doom-modeline-continuous-word-count-modes (doom-modeline-continuous-word-count-modes
@ -306,26 +304,6 @@
(doom-modeline-mode +1)) (doom-modeline-mode +1))
#+end_src #+end_src
*** Telephone Line
#+begin_src emacs-lisp :tangle yes
(use-package telephone-line
:ensure t
:custom
(telephone-line-primary-left-separator 'telephone-line-flat)
(telephone-line-secondary-left-separator 'telephone-line-flat)
(telephone-line-primary-right-separator 'telephone-line-flat)
(telephone-line-secondary-right-separator 'telephone-line-flat)
(telephone-line-lhs '((accent . (telephone-line-vc-segment
telephone-line-process-segment))
(nil . (telephone-line-projectile-segment
telephone-line-buffer-segment))))
(telephone-line-rhs '((nil . (telephone-line-flycheck-segment
telephone-line-misc-info-segment))
(accent . (telephone-line-major-mode-segment))
(evil . (telephone-line-airline-position-segment))))
:config
(telephone-line-mode +1))
#+end_src
** Darkroom ** Darkroom
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package darkroom (use-package darkroom