summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2022-05-19 23:42:30 -0400
committerAmin Bandali <bandali@kelar.org>2022-05-19 23:43:05 -0400
commiteea8548ebf049229cfdd38d85dd39789b254309c (patch)
tree5d6179747e7a4f4b0764ec50e674870cb0db0c74
parent7f1bcaabd892f49c6799fd4c06e774f5538666a0 (diff)
downloadconfigs-eea8548ebf049229cfdd38d85dd39789b254309c.tar.gz
configs-eea8548ebf049229cfdd38d85dd39789b254309c.tar.xz
configs-eea8548ebf049229cfdd38d85dd39789b254309c.zip
* .emacs.d/init.el (b/*scratch*): Invert `mode-line' when `display-graphic-p'.
-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