From cc68fd92df4720a93536bd6861f5655c81507d10 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 8 Oct 2023 14:15:26 +0300 Subject: emacs:(aesthetics) Add keybindings to switch modus-themes --- .emacs.d/init.el | 2 +- .emacs.d/modules/thanos-aesthetics.el | 1 + .emacs.d/modules/thanos-tools.el | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2c3d425..131a7ba 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -31,7 +31,7 @@ (require 'thanos-commands) ;; Misc commands to manage vm's and others (require 'thanos-books) ;; pdf-tools, nov-mode (require 'thanos-chat) ;; telega, erc, ement -(require 'thanos-devtools) ;; Completions, programming lang specific customization, chatgpt etc. +(require 'thanos-tools) ;; Completions, programming lang specific customization, chatgpt etc. (require 'thanos-dired) ;; Dired theming and custom functions (require 'thanos-mu4e) ;; Email client (require 'thanos-multimedia) ;; emms, yeetube diff --git a/.emacs.d/modules/thanos-aesthetics.el b/.emacs.d/modules/thanos-aesthetics.el index 9267b0a..ac848ee 100644 --- a/.emacs.d/modules/thanos-aesthetics.el +++ b/.emacs.d/modules/thanos-aesthetics.el @@ -186,6 +186,7 @@ (load-theme 'modus-vivendi) +(define-key thanos/applications-map (kbd ".") 'modus-themes-toggle) ;; Custom function to load theme (defun thanos/load-theme () diff --git a/.emacs.d/modules/thanos-tools.el b/.emacs.d/modules/thanos-tools.el index da9655f..4678c22 100644 --- a/.emacs.d/modules/thanos-tools.el +++ b/.emacs.d/modules/thanos-tools.el @@ -140,5 +140,5 @@ (setf gptel-api-key (password-store-get "chatgpt/api") gptel-model 'gpt-4-32k) -(provide 'thanos-devtools) +(provide 'thanos-tools) ;;; thanos-devtools.el ends here -- cgit v1.2.3