summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-02 04:18:07 +0100
committerjao <jao@gnu.org>2021-05-02 04:18:07 +0100
commitfe2d0ba5682c82d60dc64a4cc6a2bea7089d7322 (patch)
treeef7bcfc1528680273fc8152506f8a14ec20e5c1d /lib
parent48abdda22c0ac82ada3a83ec3ea75075bbc05904 (diff)
downloadelibs-fe2d0ba5682c82d60dc64a4cc6a2bea7089d7322.tar.gz
elibs-fe2d0ba5682c82d60dc64a4cc6a2bea7089d7322.tar.bz2
minibuffer colour vars
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-minibuffer.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 599a333..d4a704b 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -32,6 +32,8 @@
(defvar jao-minibuffer-frame-width nil)
(defvar jao-minibuffer-notification-timeout 5)
(defvar jao-minibuffer-enabled-p t)
+(defvar jao-minibuffer-active-buffer-line-color "lightsteelblue3") ;; "lightcyan3"
+(defvar jao-minibuffer-inactive-buffer-line-color "grey90")
(defconst jao-minibuffer--name " *Minibuf-0*")
@@ -115,10 +117,10 @@
;;;###autoload
(defun jao-minibuffer-add-mode-line (order)
(setq-default mode-line-format '(" "))
- (set-face-attribute 'mode-line nil
- :box nil :height 1 :background "grey70")
- (set-face-attribute 'mode-line-inactive nil
- :box nil :height 1 :background "grey90")
+ (set-face-attribute 'mode-line nil :box nil :height 1
+ :background jao-minibuffer-active-buffer-line-color)
+ (set-face-attribute 'mode-line-inactive nil :box nil :height 1
+ :background jao-minibuffer-inactive-buffer-line-color)
(advice-add 'force-mode-line-update :after #'jao-minibuffer-refresh)
(add-hook 'buffer-list-update-hook #'jao-minibuffer-refresh)
(jao-minibuffer-add-variable 'jao-minibuffer--mode-line-format order))