Browse Source

Make buffer pos more visible in alternate modeline

flycheck-not-required
Damien Cassou 5 years ago
parent
commit
f1eca5622d
No known key found for this signature in database GPG Key ID: A7123815F5DCE914
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      zerodark-theme.el

+ 7
- 1
zerodark-theme.el View File

@ -63,6 +63,10 @@
'((t :foreground "#98be65" :height 0.9))
"Face for not modified buffers in the mode-line.")
(defface zerodark-buffer-position-alt-face
'((t :height 0.9))
"Face for line/column numbers in the mode-line.")
(defface zerodark-vc-alt-face
'((t :foreground "#61afef"))
"Face for vc status in the mode-line.")
@ -87,7 +91,9 @@
(defvar zerodark-modeline-position ":%l:%c %p "
"Mode line construct for displaying the position in the buffer.")
(defvar zerodark-modeline-position-alt (propertize ":%l:%c %p " 'face 'mode-line-inactive)
(defvar zerodark-modeline-position-alt '(:eval (propertize ":%l:%c %p " 'face (if (zerodark--active-window-p)
'zerodark-buffer-position-alt-face
'mode-line-inactive)))
"Alternate mode line construct for displaying the position in the buffer.")
(defvar zerodark-modeline-buffer-identification '(:eval (propertize "%b" 'face 'bold))


Loading…
Cancel
Save