diff --git a/private_dot_config/doom/config.el b/private_dot_config/doom/config.el index 8e9522d..81a1849 100644 --- a/private_dot_config/doom/config.el +++ b/private_dot_config/doom/config.el @@ -33,7 +33,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-gruvbox) +(setq doom-theme nil) (setq darkman-themes '(:light doom-gruvbox-light :dark doom-gruvbox)) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -562,3 +562,4 @@ ;; (add-hook 'kill-emacs-hook 'org-archive-done-tasks) ;;why my agenda break haa? (setq org-element-use-cache nil) +(add-hook 'darkman-after-mode-changed-hook #'toggle-theme) diff --git a/private_dot_config/doom/flycheck_config.el b/private_dot_config/doom/flycheck_config.el index 4f46270..0d97e74 100644 --- a/private_dot_config/doom/flycheck_config.el +++ b/private_dot_config/doom/flycheck_config.el @@ -33,7 +33,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-gruvbox) +(setq doom-theme nil) (setq darkman-themes '(:light doom-gruvbox-light :dark doom-gruvbox)) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -537,3 +537,4 @@ ;; (add-hook 'kill-emacs-hook 'org-archive-done-tasks) ;;why my agenda break haa? (setq org-element-use-cache nil) +(add-hook 'darkman-after-mode-changed-hook #'toggle-theme)