zsh/env/20_services.zsh

10 lines
282 B
Bash
Raw Normal View History

2021-12-03 14:10:31 +00:00
if [[ $DISPLAY && $UID != 0 ]]; then
export SVDIR="$HOME/.local/session_service"
2023-01-23 14:31:22 +00:00
export SVDIR_TEMPLATES="$HOME/.service-available"
2024-03-13 13:13:29 +00:00
elif [[ $UID != 0 ]]; then
export SVDIR=$HOME/.service
export SVDIR_TEMPLATES="$HOME/.service-available"
else
export SVDIR_TEMPLATES="/etc/sv"
fi