summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-12-06 18:03:58 +0000
committerjao <jao@gnu.org>2021-12-06 18:03:58 +0000
commit5bca48c6211e62e87042c22076fa1ad2de35a7f3 (patch)
tree51e90b8e32c75cb1493359aae7a02f5927bcdd74
parentebc832d6e081a0c5f2108c48e11c70d0aea8fc3d (diff)
downloadelibs-5bca48c6211e62e87042c22076fa1ad2de35a7f3.tar.gz
elibs-5bca48c6211e62e87042c22076fa1ad2de35a7f3.tar.bz2
minibuffer modeline tweaks
-rw-r--r--lib/eos/jao-minibuffer.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 7dcdaf3..100e809 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -125,7 +125,7 @@ The padding pushes TEXT to the right edge of the mode-line."
(:eval (format "%d" (line-number-at-pos (point-max)))))))
(defvar jao-minibuffer--mode-line-format
- `("· %["
+ `("%["
(:propertize
(:eval (cond ((derived-mode-p 'gnus-group-mode
'gnus-article-mode
@@ -136,16 +136,19 @@ The padding pushes TEXT to the right edge of the mode-line."
(jao-notmuch--tree-buffer (buffer-name jao-notmuch--tree-buffer))
((not (null eww-data)) (plist-get eww-data :title))
(t "%b")))
- face jao-themes-f00 ;; (:family "Iosevka Term")
- )
+ face jao-themes-f00)
"%]"
- (:propertize " %*%+ " face jao-themes-warning)
+ (:propertize " (" face jao-themes-dimm)
(:propertize mode-name face jao-themes-f00)
- (:propertize ("" minor-mode-alist (vc-mode vc-mode)) face jao-themes-f11)
+ (:propertize ("" minor-mode-alist) face jao-themes-f11)
+ (:propertize ")" face jao-themes-dimm)
+ (:propertize (vc-mode vc-mode) face jao-themes-f10)
(:propertize mode-line-position face jao-themes-f12)
" "
global-mode-string
- "·"))
+ (:propertize (" %Z%*%+ " (current-input-method current-input-method-title))
+ face jao-themes-warning)
+ (:propertize "·" display "")))
(defvar jao-minibuffer--original-modeline nil)