Add configuration files

This commit is contained in:
Yorick Barbanneau 2023-03-07 21:30:31 +01:00
parent 73b1ebe491
commit 0f125a7d4f
12 changed files with 658 additions and 0 deletions

17
files/zsh/.zprofile Executable file
View file

@ -0,0 +1,17 @@
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