This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
zsh_config/.zprofile
2024-01-08 14:49:16 +01:00

24 lines
650 B
Bash

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=qt5ct
export NO_AT_BRIDGE=1
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
exec ~/.local/bin/sway.sh
fi