From 401ee7104fdef1dc6e9b588201d9a70570f0f873 Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Sun, 17 Jul 2022 16:03:11 -0500 Subject: Fix: defvars at the top of the tangle with noweb-ref --- shoshin-config.el | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'shoshin-config.el') diff --git a/shoshin-config.el b/shoshin-config.el index 7834edd..0d6b729 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -7,6 +7,15 @@ (setq custom-file my-custom-file) (load custom-file)) +(defvar my-themes-to-install + '(cyberpunk-theme dracula-theme nano-theme) + "List of themes to install when loading shoshimacs config.") + +(defvar my-chosen-themes + '(cyberpunk dichromacy dracula leuven modus-operandi modus-vivendi + nano-dark nano-light tango tango-dark) + "List of themes I prefer for narrowing and random selection.") + ;;; Package Management (when (< emacs-major-version 28) (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/"))) @@ -59,7 +68,7 @@ 1 delete-other-windows a apropos b consult-buffer - c my-config + c my-configuration d embark-act e eshell f find-file @@ -169,15 +178,9 @@ (global-hl-line-mode t) -(defvar my-themes-to-install - '(cyberpunk-theme dracula-theme nano-theme) - "List of themes to install when loading shoshimacs config.") -(mapc #'package-install my-themes-to-install) +(load-theme (seq-random-elt my-chosen-themes)) -(defvar my-chosen-themes - '(cyberpunk dichromacy dracula leuven modus-operandi modus-vivendi - nano-dark nano-light tango tango-dark) - "List of themes I prefer for narrowing and random selection.") +(mapc #'package-install my-themes-to-install) (load-theme (seq-random-elt my-chosen-themes)) (package-install 'windresize) -- cgit v1.2.3