Emacs: Only configure treemacs theme if we are in a GUI.

This commit is contained in:
tastytea 2020-11-14 22:48:43 +01:00
parent 3330ebadd8
commit e6b05c01dc

View File

@ -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)))