summaryrefslogtreecommitdiffstats
path: root/lisp/init-theme.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-03-02 10:43:42 +0100
committerMartin Polden <mpolden@mpolden.no>2023-03-02 10:45:20 +0100
commitf5b84de6cbac24a5717301006ba254374c318ed1 (patch)
treecf07fa87933fdb6bbec6b5b46490e117caf9687a /lisp/init-theme.el
parentc19eda0bd48c2c4e3ca714700217dfdc2f993af2 (diff)
project: use eshell instead of vterm
vterm requires compilation of native module. Eshell works better over Tramp and has good integration in project.el.
Diffstat (limited to 'lisp/init-theme.el')
-rw-r--r--lisp/init-theme.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/init-theme.el b/lisp/init-theme.el
index 1232f64..7358d28 100644
--- a/lisp/init-theme.el
+++ b/lisp/init-theme.el
@@ -31,13 +31,8 @@ The variables `mpolden/theme-light' and `mpolden/theme-dark'
decides the themes to toggle between."
(interactive)
(let* ((is-light (eq (mpolden/current-theme) 'light))
- (new-theme (if is-light mpolden/theme-dark mpolden/theme-light))
- (new-vterm-theme (if is-light "dark" "light")))
- (mpolden/switch-theme new-theme)
- (when (fboundp 'mpolden/vterm-change-theme)
- (mpolden/vterm-change-theme new-vterm-theme))
- (when (fboundp 'mpolden/vterm-set-theme)
- (mpolden/vterm-set-theme new-vterm-theme))))
+ (new-theme (if is-light mpolden/theme-dark mpolden/theme-light)))
+ (mpolden/switch-theme new-theme)))
(use-package doom-themes
:ensure t