.dotfiles/.config/environment

56 lines
1.1 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 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 -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 PASSWORD_STORE_GENERATED_LENGTH='64'
export PS1='\$ '
#export QT_QPA_PLATFORM="wayland;xcb"
export QT_QPA_PLATFORM="xcb"
export QT_QPA_PLATFORMTHEME="qt5ct"
#export SDL_VIDEODRIVER="wayland"
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"
for profile in "$HOME/.config/environment.d/"*; do
# shellcheck disable=1090
test -r "$profile" && . "$profile"
done
unset profile