From a120d06a7f058c93800f31a78fbd7b6fe5943520 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 4 Apr 2020 11:21:03 -0400 Subject: [PATCH] Only update emacs in wal hook if doom-ewal theme is enabled --- emacs/.config/wal/hooks/20-emacs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.config/wal/hooks/20-emacs.sh b/emacs/.config/wal/hooks/20-emacs.sh index bf1914d..d38f9b3 100755 --- a/emacs/.config/wal/hooks/20-emacs.sh +++ b/emacs/.config/wal/hooks/20-emacs.sh @@ -1 +1 @@ -emacsclient -a "echo 'Emacs not running'" -n -e "(load-theme 'doom-ewal)" +emacsclient -a "echo 'Emacs not running'" -n -e "(when (memq 'doom-ewal custom-enabled-themes) (load-theme 'doom-ewal))"