diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-17T10·24+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-17T10·56+0000 |
commit | cab39b89af71cc11e9f7deca8f20fc8b71844d72 (patch) | |
tree | 0609350b1b1f443dc152743f290745947ce821c3 /configs | |
parent | 190686fee1ceae81b8bfdf5a17a30edcc85ee4b5 (diff) |
Only whitelist doom- prefixed themes
I find that I continually reach for the Doom themes rather than any of the base16 or others.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/shared/.emacs.d/wpc/colorscheme.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/shared/.emacs.d/wpc/colorscheme.el b/configs/shared/.emacs.d/wpc/colorscheme.el index ba2b38cd838b..ad015bb7b754 100644 --- a/configs/shared/.emacs.d/wpc/colorscheme.el +++ b/configs/shared/.emacs.d/wpc/colorscheme.el @@ -29,7 +29,10 @@ (defcustom colorscheme/whitelist (cycle/from-list - (custom-available-themes)) + (->> (custom-available-themes) + (list/map #'symbol-name) + (list/filter (>> (s-starts-with? "doom-"))) + (list/map #'intern))) "The whitelist of colorschemes through which to cycle.") (defun colorscheme/current () |