From eea8548ebf049229cfdd38d85dd39789b254309c Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 19 May 2022 23:42:30 -0400 Subject: * .emacs.d/init.el (b/*scratch*): Invert `mode-line' when `display-graphic-p'. --- .emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-60-g2f50