diff options
author | AChavali <aryadevchavali1@gmail.com> | 2020-02-09 12:31:22 +0000 |
---|---|---|
committer | AChavali <aryadevchavali1@gmail.com> | 2020-02-09 12:31:22 +0000 |
commit | f9e9f48c75a48a8ff4d391499b6af193121938a5 (patch) | |
tree | b751f8e7c7bc981d2035a1f397af7416afd4af95 /doom.d/modules | |
parent | 5c72c72a0955bfffc6bdf5350fd0ad1da7cc5164 (diff) | |
download | dotfiles-f9e9f48c75a48a8ff4d391499b6af193121938a5.tar.gz dotfiles-f9e9f48c75a48a8ff4d391499b6af193121938a5.tar.bz2 dotfiles-f9e9f48c75a48a8ff4d391499b6af193121938a5.zip |
~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.
Diffstat (limited to 'doom.d/modules')
-rw-r--r-- | doom.d/modules/config.org | 2 | ||||
-rw-r--r-- | doom.d/modules/personal.org | 4 |
2 files changed, 3 insertions, 3 deletions
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: " |