summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 7f1471d..60f5f0d 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -511,7 +511,9 @@ Make N (default: 1) copies of the current line or region."
"Invert the `default' face (swap its background and foreground).
Effectively a very simple light/dark theme toggle switch."
(interactive)
- (invert-face 'default))
+ (invert-face 'default)
+ (when (display-graphic-p)
+ (invert-face 'mode-line)))
;;; General key bindings