desktop-playbook/files/zsh/.zprofile

17 lines
394 B
Bash
Executable file

for file in ~/.config/environment.d/*.conf
do
while read -r line
do
varname=${line%=*}
value=${${(e)line#*=}//\"}
export $varname="${value}"
done < $file
done
#notmutch
export NOTMUCH_CONFIG="${HOME}/.config/notmuch/config"
export PATH=~/.local/bin:$PATH
unset DEBUGINFOD_URLS
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec ~/.local/bin/sway.sh
fi