Map light/dark theme toggle to SPC t t

This commit is contained in:
coolneng 2020-07-19 20:54:56 +02:00
parent cbaac3a67b
commit 666490c13f
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 10 additions and 0 deletions

9
+ui.el
View File

@ -23,3 +23,12 @@
;; Shrink minibuffer
(after! ivy
(setq ivy-height 10))
;; Switch between light and dark theme
(after! heaven-and-hell
(setq heaven-and-hell-themes
'((light . doom-nord-light)
(dark . doom-nord)))
(setq heaven-and-hell-load-theme-no-confirm t)
(map!
:leader "t t" 'heaven-and-hell-toggle-theme))
(add-hook 'after-init-hook 'heaven-and-hell-init-hook)

View File

@ -6,3 +6,4 @@
;; (package! another-package :recipe (:host github :repo "username/repo"))
;; (package! builtin-package :disable t)
(package! org-super-agenda)
(package! heaven-and-hell)