65 lines
1.4 KiB
Bash
65 lines
1.4 KiB
Bash
#!/usr/bin/env sh
|
|
# shellcheck disable=2155
|
|
|
|
set -a
|
|
#. "/etc/profile"
|
|
. "$HOME/.config/user-dirs.dirs"
|
|
. "$XDG_CONFIG_HOME/locale.conf"
|
|
set +a
|
|
|
|
export AUTOSTART_DISPLAY=''
|
|
|
|
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash-completion"
|
|
export BEMENU_OPTS="--tb '#6272a4'\
|
|
--tf '#f8f8f2'\
|
|
--fb '#282a36'\
|
|
--ff '#f8f8f2'\
|
|
--nb '#282a36'\
|
|
--nf '#6272a4'\
|
|
--hb '#44475a'\
|
|
--hf '#50fa7b'\
|
|
--sb '#44475a'\
|
|
--sf '#50fa7b'\
|
|
--scb '#282a36'\
|
|
--scf '#ff79c6'\
|
|
--list 25\
|
|
--ignorecase\
|
|
--no-overlap\
|
|
-P '>' -p ''"
|
|
|
|
export DMENU="bemenu"
|
|
export DOCKER_BUILDKIT=1
|
|
|
|
export EDITOR="$(which vim)"
|
|
|
|
export HOSTNAME="$(cat /proc/sys/kernel/hostname)"
|
|
|
|
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
|
export MOAR="--style=dracula"
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
|
|
export NIXPKGS_ALLOW_UNFREE=1
|
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npmrc"
|
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
|
|
export TERMINAL="alacritty"
|
|
export TIME_STYLE="long-iso"
|
|
|
|
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
|
|
|
|
export XDG_DATA_DIRS="$XDG_CONFIG_HOME/xdg-data:$XDG_DATA_DIRS"
|
|
|
|
export YADM_OVERRIDE_ARCHIVE="$HOME/.password-store/yadm.gpg"
|
|
|
|
|
|
for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
|
|
# check for ## in name to ignore yadm files
|
|
case "$additional_env" in
|
|
*##*) continue ;;
|
|
esac
|
|
|
|
# shellcheck disable=1090
|
|
test -x "$additional_env" && . "$additional_env"
|
|
done
|
|
unset additional_env
|