bin/set-colors: Handle unset XDG_SESSION_TYPE (systemd) as X
This commit is contained in:
parent
3ae6439c1e
commit
106f06426a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue