about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·24+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·56+0000
commitcab39b89af71cc11e9f7deca8f20fc8b71844d72 (patch)
tree0609350b1b1f443dc152743f290745947ce821c3 /configs
parent190686fee1ceae81b8bfdf5a17a30edcc85ee4b5 (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.el5
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 ()