From cab39b89af71cc11e9f7deca8f20fc8b71844d72 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 17 Jan 2020 10:24:45 +0000 Subject: Only whitelist doom- prefixed themes I find that I continually reach for the Doom themes rather than any of the base16 or others. --- configs/shared/.emacs.d/wpc/colorscheme.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configs/shared/.emacs.d/wpc/colorscheme.el') 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 () -- cgit 1.4.1