2017-06-08 11:47:56 +02:00
|
|
|
;;; ui/doom-modeline/config.el -*- lexical-binding: t; -*-
|
2017-02-11 06:49:57 -05:00
|
|
|
|
2017-01-31 05:09:39 -05:00
|
|
|
;;
|
|
|
|
;; Custom faces
|
|
|
|
;;
|
|
|
|
|
2017-02-13 04:52:08 -05:00
|
|
|
(defgroup +doom-modeline nil
|
2018-02-18 03:04:36 -05:00
|
|
|
"TODO"
|
|
|
|
:group 'faces)
|
2017-02-13 04:52:08 -05:00
|
|
|
|
2017-01-31 05:09:39 -05:00
|
|
|
(defface doom-modeline-buffer-path
|
2017-11-05 17:16:13 +01:00
|
|
|
'((t (:inherit (mode-line-emphasis bold))))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face used for the dirname part of the buffer path."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
2017-05-14 00:23:18 +02:00
|
|
|
(defface doom-modeline-buffer-file
|
2017-11-05 17:16:13 +01:00
|
|
|
'((t (:inherit (mode-line-buffer-id bold))))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face used for the filename part of the mode-line buffer path."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
(defface doom-modeline-buffer-modified
|
2017-11-05 17:16:13 +01:00
|
|
|
'((t (:inherit (error bold) :background nil)))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face used for the 'unsaved' symbol in the mode-line."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
(defface doom-modeline-buffer-major-mode
|
2017-11-05 17:16:13 +01:00
|
|
|
'((t (:inherit (mode-line-emphasis bold))))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face used for the major-mode segment in the mode-line."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
(defface doom-modeline-highlight
|
2017-05-17 17:28:36 +02:00
|
|
|
'((t (:inherit mode-line-emphasis)))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face for bright segments of the mode-line."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
(defface doom-modeline-panel
|
2017-05-17 17:28:36 +02:00
|
|
|
'((t (:inherit mode-line-highlight)))
|
2017-02-11 06:49:57 -05:00
|
|
|
"Face for 'X out of Y' segments, such as `+doom-modeline--anzu', `+doom-modeline--evil-substitute' and
|
2017-02-13 04:52:08 -05:00
|
|
|
`iedit'"
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
(defface doom-modeline-info
|
2017-11-05 17:16:13 +01:00
|
|
|
`((t (:inherit (success bold))))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face for info-level messages in the modeline. Used by `*vc'."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
(defface doom-modeline-warning
|
2017-11-05 17:16:13 +01:00
|
|
|
`((t (:inherit (warning bold))))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face for warnings in the modeline. Used by `*flycheck'"
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
2017-05-01 14:52:29 -04:00
|
|
|
(defface doom-modeline-urgent
|
2017-11-05 17:16:13 +01:00
|
|
|
`((t (:inherit (error bold))))
|
2017-02-13 04:52:08 -05:00
|
|
|
"Face for errors in the modeline. Used by `*flycheck'"
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
;; Bar
|
2017-05-17 17:28:36 +02:00
|
|
|
(defface doom-modeline-bar '((t (:inherit highlight)))
|
2017-02-13 04:52:08 -05:00
|
|
|
"The face used for the left-most bar on the mode-line of an active window."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
2017-05-17 17:28:36 +02:00
|
|
|
(defface doom-modeline-eldoc-bar '((t (:inherit shadow)))
|
2017-01-31 05:09:39 -05:00
|
|
|
"The face used for the left-most bar on the mode-line when eldoc-eval is
|
2017-02-13 04:52:08 -05:00
|
|
|
active."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
2017-05-17 17:28:36 +02:00
|
|
|
(defface doom-modeline-inactive-bar '((t (:inherit warning :inverse-video t)))
|
2017-02-13 04:52:08 -05:00
|
|
|
"The face used for the left-most bar on the mode-line of an inactive window."
|
|
|
|
:group '+doom-modeline)
|
2017-01-31 05:09:39 -05:00
|
|
|
|
|
|
|
|
|
|
|
;;
|
2018-07-04 17:41:00 +02:00
|
|
|
(if (featurep! +new)
|
|
|
|
(load! "+new")
|
|
|
|
(load! "+old"))
|
2018-03-12 13:31:55 -04:00
|
|
|
|