From e6b05c01dc2748f6d2858286364cb7644d35efd4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 14 Nov 2020 22:48:43 +0100 Subject: [PATCH] Emacs: Only configure treemacs theme if we are in a GUI. --- init.d/basics/appearance.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index b847d0c..7bb0b98 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -64,7 +64,8 @@ :config (progn (load-theme 'doom-outrun-electric t) (doom-themes-visual-bell-config) ; Flash modeline on error. - (doom-themes-treemacs-config) + (when (display-graphic-p) + (doom-themes-treemacs-config)) (set-face-background 'scroll-bar (face-background 'default)) (set-face-foreground 'scroll-bar (face-foreground 'shadow)))