Switch doom-modeline for telephone-line

Remove minions package
This commit is contained in:
Evie Litherland-Smith 2023-11-20 16:18:34 +00:00
parent 514f1bfa25
commit cc9b426aa3
3 changed files with 38 additions and 12 deletions

View file

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

View file

@ -246,6 +246,7 @@
(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)
@ -257,10 +258,23 @@
:config :config
(doom-modeline-mode +1)) (doom-modeline-mode +1))
(use-package minions (use-package telephone-line
:ensure t :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 :config
(minions-mode +1)) (telephone-line-mode +1))
(use-package darkroom (use-package darkroom
:ensure t :ensure t
@ -610,7 +624,6 @@
mu4e-search-related-label '("R" . "󰌹 ") mu4e-search-related-label '("R" . "󰌹 ")
mu4e-search-skip-duplicates-label '("D" . "󰆑 ") mu4e-search-skip-duplicates-label '("D" . "󰆑 ")
mu4e-search-threaded-label'("T" . "󱇫 ") mu4e-search-threaded-label'("T" . "󱇫 ")
mu4e-alert-modeline-formatter 'mu4e-alert-default-mode-line-formatter
mu4e-headers-fields '((:human-date . 12) mu4e-headers-fields '((:human-date . 12)
(:flags . 6) (:flags . 6)
(:from-or-to . 25) (:from-or-to . 25)
@ -626,6 +639,7 @@
:bind (("C-c o m" . mu4e)) :bind (("C-c o m" . mu4e))
:config :config
(require 'mu4e-org) (require 'mu4e-org)
(mu4e-modeline-mode)
(setq mu4e-contexts (setq mu4e-contexts
(list (list
(make-mu4e-context (make-mu4e-context
@ -665,7 +679,7 @@
:config :config
(mu4e-alert-set-default-style 'libnotify) (mu4e-alert-set-default-style 'libnotify)
(mu4e-alert-enable-notifications) (mu4e-alert-enable-notifications)
(mu4e-alert-enable-mode-line-display)) (mu4e-alert-disable-mode-line-display))
(let ((elfeed-base-directory "~/.elfeed")) (let ((elfeed-base-directory "~/.elfeed"))
(use-package elfeed (use-package elfeed

View file

@ -293,6 +293,7 @@
*** Doom Modeline *** Doom Modeline
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package doom-modeline (use-package doom-modeline
:disabled
:ensure t :ensure t
:custom :custom
(doom-modeline-icon t) (doom-modeline-icon t)
@ -305,14 +306,26 @@
(doom-modeline-mode +1)) (doom-modeline-mode +1))
#+end_src #+end_src
*** Minions *** Telephone Line
#+begin_src emacs-lisp :tangle yes #+begin_src emacs-lisp :tangle yes
(use-package minions (use-package telephone-line
:ensure t :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 :config
(minions-mode +1)) (telephone-line-mode +1))
#+end_src #+end_src
** Darkroom ** Darkroom
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package darkroom (use-package darkroom
@ -727,7 +740,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
mu4e-search-related-label '("R" . "󰌹 ") mu4e-search-related-label '("R" . "󰌹 ")
mu4e-search-skip-duplicates-label '("D" . "󰆑 ") mu4e-search-skip-duplicates-label '("D" . "󰆑 ")
mu4e-search-threaded-label'("T" . "󱇫 ") mu4e-search-threaded-label'("T" . "󱇫 ")
mu4e-alert-modeline-formatter 'mu4e-alert-default-mode-line-formatter
mu4e-headers-fields '((:human-date . 12) mu4e-headers-fields '((:human-date . 12)
(:flags . 6) (:flags . 6)
(:from-or-to . 25) (:from-or-to . 25)
@ -743,6 +755,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:bind (("C-c o m" . mu4e)) :bind (("C-c o m" . mu4e))
:config :config
(require 'mu4e-org) (require 'mu4e-org)
(mu4e-modeline-mode)
(setq mu4e-contexts (setq mu4e-contexts
(list (list
(make-mu4e-context (make-mu4e-context
@ -782,7 +795,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:config :config
(mu4e-alert-set-default-style 'libnotify) (mu4e-alert-set-default-style 'libnotify)
(mu4e-alert-enable-notifications) (mu4e-alert-enable-notifications)
(mu4e-alert-enable-mode-line-display)) (mu4e-alert-disable-mode-line-display))
#+END_SRC #+END_SRC