.dotfiles/.config/environment

64 lines
1.5 KiB
Bash

#!/bin/sh
set -a
. "$HOME/.config/user-dirs.dirs"
. "$XDG_CONFIG_HOME/locale.conf"
set +a
export ANDROID_SDK_ROOT='/opt/android-sdk'
export AUTOSTART_DISPLAY='startx'
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"
export CM_LAUNCHER='rofi'
export DOCKER_BUILDKIT=1
export DRONE_SERVER='https://ci.serguzim.me'
export EDITOR='/usr/bin/vim'
export GOPATH="$XDG_DATA_HOME/go"
export KUBECONFIG="$HOME/.kube/config"
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
export MENU="bemenu"
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
export OPENFAAS_URL="https://faas.serguzim.me"
export OSH="$XDG_CONFIG_HOME/bash/oh-my-bash"
export PASSWORD_STORE_GENERATED_LENGTH='64'
export PATH="$HOME/.local/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:$GOPATH/bin:$HOME/.cargo/bin"
export QT_QPA_PLATFORMTHEME="qt5ct"
export TERMINAL="alacritty"
export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export ZSH="$ZDOTDIR/oh-my-zsh"
### conditionals
[ -x "$(command -v bat)" ] && export MANPAGER="sh -c 'col -bx | bat -l man -p'"
set -a
[ -f "$HOME/.config/environment.local" ] && . "$HOME/.config/environment.local"
set +a