From 7830d95209a716ec1506eb91c2c49f5c19b2fae1 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sun, 13 Sep 2020 21:12:38 +0200 Subject: [PATCH] also source ~/.profile when looking for envvars I have the impression that setting environment variables in the custom xinit script doesn't always work properly (no idea why). Putting them in ~/.profile seems to be more robust. Sourcing it is a good idea anyhow, hence this patch: --- scripts/core/sxmo_xinit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index 5fd1e1a..2056595 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -3,6 +3,7 @@ envvars() { # shellcheck disable=SC1091 . /etc/profile + . ~/.profile command -v "$TERM" || export TERM=st command -v "$BROWSER" || export BROWSER=surf command -v "$EDITOR" || export EDITOR=vis