summaryrefslogtreecommitdiffstats
path: root/jeschli
diff options
context:
space:
mode:
Diffstat (limited to 'jeschli')
-rw-r--r--jeschli/2configs/emacs.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/jeschli/2configs/emacs.nix b/jeschli/2configs/emacs.nix
index c0edfcc..8bc78d1 100644
--- a/jeschli/2configs/emacs.nix
+++ b/jeschli/2configs/emacs.nix
@@ -75,6 +75,26 @@ let
theme = ''
(load-theme 'monokai-alt t)
+ (load-theme 'whiteboard t)
+
+ (defun mh/load-whiteboard-theme ()
+ "load whiteboard theme"
+ (interactive)
+ (message "whiteboard loaded")
+ (disable-theme 'monokai-alt)
+ (enable-theme 'whiteboard)
+ )
+
+ (defun mh/load-monokai-theme ()
+ "load monokai theme"
+ (interactive)
+ (message "monokai loaded")
+ (disable-theme 'whiteboard)
+ (enable-theme 'monokai-alt)
+ )
+
+ (global-set-key "\C-ctw" 'mh/load-whiteboard-theme)
+ (global-set-key "\C-ctm" 'mh/load-monokai-theme)
'';
recentFiles = ''