From 7ac3dc9f606f2d4cab20d97f4f325e7e353e00bd Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Fri, 20 May 2022 15:55:00 +0900 Subject: [PATCH] Emacs : theme chaned for cui interface. --- .doom.d/config.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index 41f8c3f..f7b602d 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -32,7 +32,11 @@ ;; 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-palenight) +(if (display-graphic-p) + (setq doom-theme 'doom-palenight) + (setq doom-theme 'doom-gruvbox)) +(unless (display-graphic-p) + (xterm-mouse-mode)) ;; 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'. @@ -372,6 +376,7 @@ capture was not aborted." (map! "C-s" 'consult-line) (map! "C-M-l" 'consult-imenu) (map! "C-M-j" 'persp-switch-to-buffer) + (use-package! dired :config (evil-collection-define-key 'normal 'dired-mode-map