desktop-playbook/files/zsh/.zprofile

22 lines
584 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
export QT_QPA_PLATFORM="wayland-egl"
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORMTHEME="gtk3"
export NO_AT_BRIDGE=1
exec ~/.local/bin/sway.sh
fi