summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-27 06:40:46 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-27 06:40:46 -0700
commit0ace80ccc18ed2a0595172006eaa898ef14b847f (patch)
treea0d8fd758d8f1163f1e5697933816a06654ca6b2 /emacs/custom
parentemacs: add lispy (diff)
downloademacs.d-0ace80ccc18ed2a0595172006eaa898ef14b847f.tar.gz
emacs: use powerline
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-ui.el26
1 files changed, 9 insertions, 17 deletions
diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el
index 108ccb8..06141a0 100644
--- a/emacs/custom/fcuny-ui.el
+++ b/emacs/custom/fcuny-ui.el
@@ -107,23 +107,15 @@
 
 (display-time-mode t)
 
-(setq mode-line-percent-position '(-3 "%p"))
-
-(setq-default mode-line-format
-              '("%e"
-                mode-line-front-space
-                mode-line-modified
-                mode-line-remote
-                mod-line-frame-identification
-                mode-line-buffer-identification
-                "  "
-                mode-line-position
-                mode-line-modes
-                "  "
-                (vc-mode vc-mode)
-                "  "
-                mode-line-misc-info
-                mode-line-end-spaces))
+(use-package powerline
+  :ensure t
+  :config
+  (setq powerline-default-separator 'arrow)
+  (setq powerline-display-buffer-size nil)
+  (setq powerline-display-mule-info t)
+  (setq powerline-display-hud nil)
+  (powerline-default-theme)
+  (remove-hook 'after-focus-change-function 'powerline-unset-selected-window))
 
 ;; Disable help mouse-overs for mode-line as they provide little to no benefits
 (setq mode-line-default-help-echo nil