From 7a03ce9563726f5592e6ce2e1b3ed08917034db9 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Sun, 31 Oct 2021 12:48:42 -0700 Subject: [PATCH] bin/set-colors: Handle missing xsettingsd in Wayland --- bin/set-colors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/set-colors b/bin/set-colors index 7b38c58..837c1f8 100755 --- a/bin/set-colors +++ b/bin/set-colors @@ -31,8 +31,8 @@ install_light() { postinstall() { "${DOTFILES}/alacritty/install" - if [ "${OSTYPE}" == 'Linux' ]; then - killall -HUP xsettingsd + if [ "${OSTYPE}" == 'Linux' ] && [ "${XDG_SESSION_TYPE}" != 'wayland' ]; then + killall --signal HUP xsettingsd fi }