diff options
author | jao <jao@gnu.org> | 2021-05-15 00:28:19 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-05-15 00:28:19 +0100 |
commit | 9c490d02512b86c95aa9020d000daba947415a74 (patch) | |
tree | f8c0435c86ffb6643417f78f3bdf0a345af5671e /init.org | |
parent | e33b64bfd2c4c06692c8183a2450ffca099e955e (diff) | |
download | elibs-9c490d02512b86c95aa9020d000daba947415a74.tar.gz elibs-9c490d02512b86c95aa9020d000daba947415a74.tar.bz2 |
tweaks for in-buffer mode-line
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -270,6 +270,10 @@ "%L %r %B (%p%% load, remaining time %t)" battery-mode-line-format " %b%p ")) (display-battery-mode 1) + (setq global-mode-string + (delq 'battery-mode-line-string global-mode-string)) + (with-eval-after-load "jao-minibuffer" + (jao-minibuffer-add-variable 'battery-mode-line-string 80)) #+end_src * Crypto *** PGP, EPG, passwords @@ -479,8 +483,9 @@ (jao-load-org "exwm.org") (setq jao-exwm-enabled-p t) (display-time-mode -1) - (jao-minibuffer-add-mode-line 90) (jao-ednc-setup 95) + ;; (jao-minibuffer-add-mode-line 90) + (jao-toggle-inactive-mode-line t) (exwm-enable) (jao-trisect t) (jao-exwm-xmobar) @@ -650,9 +655,14 @@ *** Mode line format #+begin_src emacs-lisp (setq line-number-display-limit-width 250) - (setq mode-line-position-column-format '(",%c") + (setq mode-line-position-column-format '(" %c") mode-line-position-line-format '(" %l,%c")) - (line-number-mode 1) + (setq mode-line-percent-position + '(" %l" + (circe-chat-target (:eval (format " [%d]" + (length (circe-channel-nicks))))) + (:eval (format "/%d" (line-number-at-pos (point-max)))))) + (line-number-mode -1) (column-number-mode 1) #+end_src *** Mode line time |