diff options
author | Franck Cuny <franck@fcuny.net> | 2021-11-07 17:43:27 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-11-07 17:43:27 -0800 |
commit | 9bd5cb2fba159e0bb74cce6589cdef390a554e89 (patch) | |
tree | b919e046f452059d416c5faccff9cfc859efe99d /emacs | |
parent | emacs: split horizontally to create eshell buffer (diff) | |
download | emacs.d-9bd5cb2fba159e0bb74cce6589cdef390a554e89.tar.gz |
emacs: simplify the modeline
No need for powerline, and don't need to display the time either (since it's already visible easily on both macos and linux).
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/fcuny-ui.el | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el index 06141a0..44984e5 100644 --- a/emacs/custom/fcuny-ui.el +++ b/emacs/custom/fcuny-ui.el @@ -105,17 +105,23 @@ (when (boundp 'world-clock-timer-second) (setq world-clock-timer-second 60)) -(display-time-mode t) - -(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)) +;;; Mode line +(setq mode-line-percent-position '(-3 "%p")) +(setq-default mode-line-format + '("%e" + mode-line-front-space + mode-line-mule-info + mode-line-client + mode-line-modified + mode-line-remote + mode-line-frame-identification + mode-line-buffer-identification + " " + mode-line-position + mode-line-modes + " " + mode-line-misc-info + mode-line-end-spaces)) ;; Disable help mouse-overs for mode-line as they provide little to no benefits (setq mode-line-default-help-echo nil |