.dotfiles/.config/environment

83 lines
2 KiB
Plaintext
Raw Normal View History

#!/bin/sh
2020-07-15 13:50:56 +00:00
2022-03-21 21:20:12 +00:00
set -a
. "$HOME/.config/user-dirs.dirs"
. "$XDG_CONFIG_HOME/locale.conf"
2022-03-21 21:20:12 +00:00
set +a
export ANDROID_SDK_ROOT='/opt/android-sdk'
2022-03-21 21:20:12 +00:00
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'
2020-11-18 14:40:36 +00:00
2021-10-13 21:27:31 +00:00
export DOCKER_BUILDKIT=1
2021-03-19 10:56:50 +00:00
export DRONE_SERVER='https://ci.serguzim.me'
2020-07-15 13:50:56 +00:00
export EDITOR='/usr/bin/vim'
export GOPATH="$XDG_DATA_HOME/go"
2022-03-26 14:08:10 +00:00
_hostname=$(cat /proc/sys/kernel/hostname)
export HOSTNAME="$_hostname"
2021-04-07 10:39:01 +00:00
export KUBECONFIG="$HOME/.kube/config"
2022-12-13 01:28:43 +00:00
export LOCALE_ARCHIVE="/usr/lib/locale/locale-archive"
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
2022-03-26 14:08:10 +00:00
_makeflags=$(grep -c ^processor /proc/cpuinfo)
export MAKEFLAGS="-j$_makeflags"
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
2022-03-21 21:20:12 +00:00
export MENU="bemenu"
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
2021-02-27 02:03:19 +00:00
export OPENFAAS_URL="https://faas.serguzim.me"
export OSH="$XDG_CONFIG_HOME/bash/oh-my-bash"
2020-07-15 13:50:56 +00:00
2021-02-13 21:52:08 +00:00
export PASSWORD_STORE_GENERATED_LENGTH='64'
2022-12-12 17:43:54 +00:00
# add my paths
export PATH="$HOME/.local/bin:$HOME/.bin:$PATH"
# add tool paths
export PATH="$GOPATH/bin:$HOME/.cargo/bin:$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
2022-06-30 12:24:33 +00:00
export PS1='\$ '
2022-03-26 14:08:10 +00:00
export QT_QPA_PLATFORM="wayland;xcb"
2021-04-09 17:15:28 +00:00
export QT_QPA_PLATFORMTHEME="qt5ct"
2022-03-26 14:08:10 +00:00
#export SDL_VIDEODRIVER="wayland"
2021-04-30 14:31:30 +00:00
export TERMINAL="alacritty"
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"
export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"
2022-04-20 21:31:37 +00:00
export WOODPECKER_SERVER="https://ci.serguzim.me"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
2021-02-13 21:52:08 +00:00
export ZSH="$ZDOTDIR/oh-my-zsh"
### conditionals
[ -x "$(command -v bat)" ] && export MANPAGER="sh -c 'col -bx | bat -l man -p'"
2022-12-13 01:28:43 +00:00
[ -x "$(command -v moar)" ] && export MANPAGER="moar"
[ -x "$(command -v moar)" ] && export PAGER="moar"
2021-04-30 14:31:30 +00:00
2022-03-21 21:20:12 +00:00
set -a
2021-04-30 14:31:30 +00:00
[ -f "$HOME/.config/environment.local" ] && . "$HOME/.config/environment.local"
2022-03-21 21:20:12 +00:00
set +a