2023-06-25 11:21:14 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
# shellcheck disable=2155
|
2020-07-15 13:50:56 +00:00
|
|
|
|
2022-03-21 21:20:12 +00:00
|
|
|
set -a
|
2023-01-02 20:08:50 +00:00
|
|
|
#. "/etc/profile"
|
2021-04-01 17:00:33 +00:00
|
|
|
. "$HOME/.config/user-dirs.dirs"
|
|
|
|
. "$XDG_CONFIG_HOME/locale.conf"
|
2022-03-21 21:20:12 +00:00
|
|
|
set +a
|
2021-02-18 11:00:51 +00:00
|
|
|
|
2023-06-03 00:27:30 +00:00
|
|
|
export AUTOSTART_DISPLAY=''
|
2022-03-21 21:20:12 +00:00
|
|
|
|
|
|
|
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'\
|
2022-12-14 14:26:53 +00:00
|
|
|
--list 25 --ignorecase -p ''"
|
2021-05-24 21:15:38 +00:00
|
|
|
|
2023-02-02 22:26:51 +00:00
|
|
|
export DMENU="bemenu"
|
2021-10-13 21:27:31 +00:00
|
|
|
export DOCKER_BUILDKIT=1
|
2021-03-19 10:56:50 +00:00
|
|
|
|
2023-06-25 11:21:14 +00:00
|
|
|
export EDITOR="$(which vim)"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2023-06-25 11:21:14 +00:00
|
|
|
export HOSTNAME="$(cat /proc/sys/kernel/hostname)"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2023-06-25 11:21:14 +00:00
|
|
|
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
2023-03-20 11:32:57 +00:00
|
|
|
export MOAR="--style=dracula"
|
2023-07-06 22:40:25 +00:00
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2023-11-09 01:42:38 +00:00
|
|
|
export NIXPKGS_ALLOW_UNFREE=1
|
|
|
|
|
2021-02-13 21:52:08 +00:00
|
|
|
export PASSWORD_STORE_GENERATED_LENGTH='64'
|
2022-06-30 12:24:33 +00:00
|
|
|
export PS1='\$ '
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2021-04-09 17:15:28 +00:00
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
|
|
|
2021-04-30 14:31:30 +00:00
|
|
|
export TERMINAL="alacritty"
|
2023-03-09 11:57:37 +00:00
|
|
|
export TIME_STYLE="long-iso"
|
2021-04-16 10:07:15 +00:00
|
|
|
|
2022-07-29 17:22:47 +00:00
|
|
|
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2022-12-20 00:13:59 +00:00
|
|
|
|
2023-10-18 23:12:01 +00:00
|
|
|
for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
|
|
|
|
# check for ## in name to ignore yadm files
|
|
|
|
case "$additional_env" in
|
|
|
|
*##*) continue ;;
|
|
|
|
esac
|
|
|
|
|
2023-06-25 11:21:14 +00:00
|
|
|
# shellcheck disable=1090
|
2023-10-20 12:57:50 +00:00
|
|
|
test -x "$additional_env" && . "$additional_env"
|
2023-06-25 11:21:14 +00:00
|
|
|
done
|
2023-10-18 23:12:01 +00:00
|
|
|
unset additional_env
|