From 5ed6d6d7a2e70ca9367e85d48ee507d16b416273 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Sat, 26 Apr 2025 10:20:28 +0300 Subject: [PATCH] idk man --- private_dot_config/doom/config.el | 3 ++- private_dot_config/doom/flycheck_config.el | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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)