diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -436,8 +436,9 @@ (require 'jao-themes) (defun jao-themes-setup () - (let ((light (and window-system (not (jao-colors-scheme-dark-p))))) - (load-theme (if light 'jao-light 'jao-greenish) t))) + (let ((dark (jao-colors-scheme-dark-p))) + (when window-system + (load-theme (if dark 'jao-greenish 'jao-light) t)))) (when (not (eq window-system 'pgtk)) (jao-themes-setup)) |