From 106f06426a23f9f7f3fff912b72ab688e62b7665 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Sun, 14 Nov 2021 17:58:25 -0800 Subject: [PATCH] bin/set-colors: Handle unset XDG_SESSION_TYPE (systemd) as X --- bin/set-colors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/set-colors b/bin/set-colors index 837c1f8..47a085d 100755 --- a/bin/set-colors +++ b/bin/set-colors @@ -31,7 +31,7 @@ install_light() { postinstall() { "${DOTFILES}/alacritty/install" - if [ "${OSTYPE}" == 'Linux' ] && [ "${XDG_SESSION_TYPE}" != 'wayland' ]; then + if [ "${OSTYPE}" == 'Linux' ] && [ "${XDG_SESSION_TYPE-}" != 'wayland' ]; then killall --signal HUP xsettingsd fi }