From 301099a77678181e834f8650d0c742e5fe59aac6 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 22 Feb 2023 06:51:54 -0800 Subject: [PATCH] Move from powerline to doom modeline for a nicer experience. --- elisp/custom.el | 2 +- elisp/ui.el | 21 +++++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/elisp/custom.el b/elisp/custom.el index 1d6b0f4..61f854e 100644 --- a/elisp/custom.el +++ b/elisp/custom.el @@ -4,7 +4,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(nord-theme powerline rainbow-delimiters python-pytest json-mode company-jedi jedi hl-defined counsel rainbow-identifiers exwm-config all-the-icons-ibuffer slime ivy zerodark-theme zerodark neotree all-the-icons paredit flycheck aggressive-indent aggressive-indent-mode lsp-python-ms py-autopep8 pyenv-mode elpy lsp-ui use-package))) + '(doom-modeline flycheck-indicator nord-theme powerline rainbow-delimiters python-pytest json-mode company-jedi jedi hl-defined counsel rainbow-identifiers exwm-config all-the-icons-ibuffer slime ivy zerodark-theme zerodark neotree all-the-icons paredit flycheck aggressive-indent aggressive-indent-mode lsp-python-ms py-autopep8 pyenv-mode elpy lsp-ui use-package))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/elisp/ui.el b/elisp/ui.el index 2eb33f6..7919697 100644 --- a/elisp/ui.el +++ b/elisp/ui.el @@ -64,20 +64,17 @@ (setq nord-uniform-mode-lines t) (load-theme 'nord t)) +(use-package doom-modeline + :ensure t + :init (doom-modeline-mode 1) + :custom + (doom-modeline-minor-modes t) + (doom-modeline-height 18) + (doom-modeline-hud t) + (doom-modeline-icon t)) + ;; Buffer configuration (use-package all-the-icons-ibuffer :ensure t :hook (ibuffer-mode . all-the-icons-ibuffer-mode) :requires all-the-icons) - -;; Modeline configuration -(use-package powerline - :ensure t - :init - (powerline-center-theme) - :custom - (powerline-gui-use-vcs-glyph t)) - -(display-battery-mode 1) -(display-time-mode 1) -(column-number-mode 1)