diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2022-07-17 16:03:11 -0500 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2022-07-17 16:03:11 -0500 |
commit | 401ee7104fdef1dc6e9b588201d9a70570f0f873 (patch) | |
tree | f3ebab918214716434b24e0d01823e28eff16ee1 /shoshin-config.el | |
parent | c570284ace0ed5f1f254f9cc475a30f4be56af0f (diff) |
Fix: defvars at the top of the tangle with noweb-ref
Diffstat (limited to 'shoshin-config.el')
-rw-r--r-- | shoshin-config.el | 21 |
1 files changed, 12 insertions, 9 deletions
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) |