From f53a06ffe4e02d0e5cf49cd378806ecb0706d062 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 28 Aug 2022 20:48:28 +0100 Subject: frame-background-mode (not correctly detected for foot) --- init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index dbe6e43..123ab66 100644 --- a/init.el +++ b/init.el @@ -327,6 +327,9 @@ (defun jao-colors-scheme-dark-p () (equal "dark" (getenv "JAO_COLOR_SCHEME"))) +(customize-set-variable 'frame-background-mode + (if (jao-colors-scheme-dark-p) 'dark 'light)) + (setq custom-theme-directory (expand-file-name "lib/themes" jao-emacs-dir)) -- cgit v1.2.3