Update env

This commit is contained in:
crater2150 2024-03-13 14:13:29 +01:00
parent 16e5256542
commit 67b66fdeed
2 changed files with 9 additions and 0 deletions

5
env/20_services.zsh vendored
View file

@ -1,4 +1,9 @@
if [[ $DISPLAY && $UID != 0 ]]; then
export SVDIR="$HOME/.local/session_service"
export SVDIR_TEMPLATES="$HOME/.service-available"
elif [[ $UID != 0 ]]; then
export SVDIR=$HOME/.service
export SVDIR_TEMPLATES="$HOME/.service-available"
else
export SVDIR_TEMPLATES="/etc/sv"
fi