aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-07-04 15:22:12 -0500
committershoshin <shoshin@cicadas.surf>2022-07-04 15:22:12 -0500
commit9da679784acdad9664ec3c1ea661784fbafa4342 (patch)
tree71e60594eeaccd406f5149901bf280490d520f3f
parenta1e148a6810bfc8e25cdd8e789de30068d342ff9 (diff)
Add: [themes] install/chosen vars & load random on init
-rw-r--r--shoshin-config.el12
-rw-r--r--shoshin-config.org12
2 files changed, 18 insertions, 6 deletions
diff --git a/shoshin-config.el b/shoshin-config.el
index fccc766..637b605 100644
--- a/shoshin-config.el
+++ b/shoshin-config.el
@@ -110,8 +110,14 @@
(global-hl-line-mode t)
-(setq my-chosen-themes
- '(cyberpunk-theme dracula-theme))
-(mapc #'package-install my-chosen-themes)
+(defvar my-themes-to-install
+ '(alect-themes cyberpunk-theme dracula-theme nano-theme)
+ "List of themes to install when loading shoshimacs config.")
+(mapc #'package-install my-themes-to-install)
+
+(defvar my-chosen-themes
+ '(cyberpunk dracula nano-dark nano-light tango tango-dark)
+ "List of themes I prefer for narrowing and random selection.")
+(load-theme (seq-random-elt my-chosen-themes))
(package-install 'windresize)
diff --git a/shoshin-config.org b/shoshin-config.org
index 224c0c1..d762b3f 100644
--- a/shoshin-config.org
+++ b/shoshin-config.org
@@ -608,9 +608,15 @@ add other hooks to ~lin-mode-hooks~
** Themes
#+begin_src emacs-lisp
- (setq my-chosen-themes
- '(cyberpunk-theme dracula-theme))
- (mapc #'package-install my-chosen-themes)
+ (defvar my-themes-to-install
+ '(alect-themes cyberpunk-theme dracula-theme nano-theme)
+ "List of themes to install when loading shoshimacs config.")
+ (mapc #'package-install my-themes-to-install)
+
+ (defvar my-chosen-themes
+ '(cyberpunk dracula nano-dark nano-light tango tango-dark)
+ "List of themes I prefer for narrowing and random selection.")
+ (load-theme (seq-random-elt my-chosen-themes))
#+end_src
** windresize