commit 6790604d9e750250ea38d0a847ac9dea7e46f3da
parent 3c7cc0d82f5f12309dc6664ec3d648e4cbc2cf39
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 21 Mar 2023 21:46:55 +0100
set-theme: also set emacs & sioyek
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/set-theme b/scripts/set-theme
@@ -60,7 +60,7 @@ set_sioyek() {
set_emacs() {
pgrep emacsclient >/dev/null 2>&1 \
- && emacsclient -nw -e "(progn (za/$1-theme) (kill-terminal))"
+ && emacsclient -d $DISPLAY -nw -e "(progn (za/$1-theme) (kill-terminal))"
}
# Change the 'colors' setting in the Alacritty config
@@ -133,4 +133,5 @@ esac
set_p10k "$theme"
set_tmux "$theme"
set_emacs "$theme"
+set_sioyek "$theme"
exit 0