From f9e9f48c75a48a8ff4d391499b6af193121938a5 Mon Sep 17 00:00:00 2001 From: AChavali Date: Sun, 9 Feb 2020 12:31:22 +0000 Subject: ~refactor theme module to have it's own namespace oreodave/theme is the dedicated function/state namespace for theme management. It's just cleaner and nicer. --- doom.d/modules/config.org | 2 +- doom.d/modules/personal.org | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doom.d/modules') diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org index 1a48d20..c9f74cc 100644 --- a/doom.d/modules/config.org +++ b/doom.d/modules/config.org @@ -354,7 +354,7 @@ each of the unit tests ran." :desc "Open school dir" "s" #'oreodave/goto-school ; I like my schooling :desc "Open weather" "w" #'oreodave/weather ; Nah I don't like the weather :desc "Open notes" "n" #'(lambda () (interactive) (dired org-directory)) - :desc "Change theme" "t" #'oreodave/set-new-theme ; From my own collection + :desc "Change theme" "t" #'oreodave/theme/set-new-theme ; From my own collection (:after pdf-view :desc "Goto page on pdf" "p" #'pdf-view-goto-page) :desc "Reload emacs" "r" #'oreodave/reload) ; Reload is necessary diff --git a/doom.d/modules/personal.org b/doom.d/modules/personal.org index f36bcec..592f932 100644 --- a/doom.d/modules/personal.org +++ b/doom.d/modules/personal.org @@ -21,11 +21,11 @@ doom private directory. Open a Dired session to the books directory in the org-directory. * Change theme #+BEGIN_SRC elisp -(setq oreodave/theme-list '(doom-solarized-dark doom-gruvbox doom-city-lights +(setq oreodave/themes/theme-list '(doom-solarized-dark doom-gruvbox doom-city-lights doom-outrun-electric doom-vibrant doom-molokai doom-solarized-light doom-acario-light)) -(defun oreodave/set-new-theme () +(defun oreodave/themes/set-new-theme () "Set the theme from my own selection, mutate as you see fit" (interactive) (ivy-read "Select theme: " -- cgit v1.2.3-13-gbd6f