From 4deb7bd541a6959697d72b81a52f04ecacd259b2 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 21 Dec 2019 14:12:38 +0000 Subject: [PATCH] added linux to tango theme switcher for now --- init.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.org b/init.org index 368a6e9..46d4a69 100644 --- a/init.org +++ b/init.org @@ -171,13 +171,15 @@ Some windows specific stuff #+BEGIN_SRC emacs-lisp (defun my/toggle-theme () (interactive) - (when *windows* + (when (or *windows* *linux*) (if (eq (car custom-enabled-themes) 'tango-dark) (progn (disable-theme 'tango-dark) - (enable-theme 'tango)) + (load-theme 'tango)) (progn (disable-theme 'tango) - (enable-theme 'tango-dark))))) + (load-theme 'tango-dark))))) + +(bind-key "C-c t" 'my/toggle-theme) #+END_SRC Windows Theme: