Map light/dark theme toggle to SPC t t
This commit is contained in:
parent
cbaac3a67b
commit
666490c13f
9
+ui.el
9
+ui.el
|
@ -23,3 +23,12 @@
|
||||||
;; Shrink minibuffer
|
;; Shrink minibuffer
|
||||||
(after! ivy
|
(after! ivy
|
||||||
(setq ivy-height 10))
|
(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)
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
||||||
;; (package! builtin-package :disable t)
|
;; (package! builtin-package :disable t)
|
||||||
(package! org-super-agenda)
|
(package! org-super-agenda)
|
||||||
|
(package! heaven-and-hell)
|
||||||
|
|
Loading…
Reference in New Issue