diff options
author | jao <jao@gnu.org> | 2025-10-22 03:18:18 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-10-22 03:18:53 +0100 |
commit | 7e36dda6e7f56e5bde14fe15fdabd2ecea1683c7 (patch) | |
tree | d98a6a2ee493fd367184acb7dde69d9af6ac5741 /lib | |
parent | d480208a93932db78a49fc01470421ee88f25160 (diff) | |
download | elibs-7e36dda6e7f56e5bde14fe15fdabd2ecea1683c7.tar.gz elibs-7e36dda6e7f56e5bde14fe15fdabd2ecea1683c7.tar.bz2 |
mode-line in minibuffer everywheremain
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-mode-line.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/eos/jao-mode-line.el b/lib/eos/jao-mode-line.el index 0dd1abd..d3388e4 100644 --- a/lib/eos/jao-mode-line.el +++ b/lib/eos/jao-mode-line.el @@ -31,7 +31,7 @@ ;;;; mode line toggle (defun jao-mode-line--face-height (face &optional all) (let* ((h (face-attribute face :height (window-frame))) - (nh (if (eq 'unspecified h) 1 'unspecified))) + (nh (if (eq 'unspecified h) 10 'unspecified))) (set-face-attribute face (when (not all) (window-frame)) :height nh))) (defun jao-mode-line--set-inactive-face (x frame) @@ -62,7 +62,7 @@ ;;;###autoload (defun jao-mode-line-hide-inactive (frame) - (jao-mode-line--set-inactive-face 1 frame)) + (jao-mode-line--set-inactive-face 10 frame)) ;;;###autoload (defun jao-mode-line-show-inactive (frame) @@ -85,8 +85,6 @@ 'gnus-article-mode 'gnus-summary-mode) mode-line-buffer-identification) - ;; ((derived-mode-p 'circe-channel-mode) - ;; (format "%s [%d]" (buffer-name) (length (circe-channel-nicks)))) ((not (null eww-data)) (or (plist-get eww-data :title) "No title")) (t "%b")))) @@ -135,10 +133,10 @@ jao-minibuffer-inactive-buffer-line-color))) (jao-mode-line--extract-face nil) (jao-mode-line--extract-face t) - (set-face-attribute 'mode-line nil :box nil :height 1 + (set-face-attribute 'mode-line-active nil :box nil :height 10 :background bg :foreground bg :overline ol :underline ul :extend t) - (set-face-attribute 'mode-line-inactive nil :box nil :height 1 + (set-face-attribute 'mode-line-inactive nil :box nil :height 10 :background bg :foreground bg ;; :overline bg :underline ul :extend t))) |