From 29bf17dd054b91f4cb15deb4a2e99fd1cc14c9ea Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Thu, 19 Dec 2019 14:30:28 +0100 Subject: [PATCH] fixed toggle function for light/dark theme --- init.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 015858d..6471a78 100644 --- a/init.org +++ b/init.org @@ -171,8 +171,11 @@ Some windows specific stuff (interactive) (when *windows* (if (eq (car custom-enabled-themes) 'ample-flat) - (disable-theme 'ample-flat) - (enable-theme 'ample-flat)))) + (progn (disable-theme 'ample-flat) + (enable-theme 'adwaita)) + (progn + (disable-theme 'adwaita) + (enable-theme 'ample-flat))))) #+END_SRC Windows Theme: