2021-04-01 17:00:33 +00:00
|
|
|
#!/bin/sh
|
2020-07-15 13:50:56 +00:00
|
|
|
|
2022-03-21 21:20:12 +00:00
|
|
|
set -a
|
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
|
|
|
|
2021-05-24 21:15:38 +00:00
|
|
|
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"
|
2021-05-24 21:15:38 +00:00
|
|
|
|
2021-02-18 11:00:51 +00:00
|
|
|
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'
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2021-02-23 15:33:23 +00:00
|
|
|
export GOPATH="$XDG_DATA_HOME/go"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
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"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2021-02-23 15:33:23 +00:00
|
|
|
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"
|
2021-02-23 15:33:23 +00:00
|
|
|
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
|
2022-03-21 21:20:12 +00:00
|
|
|
export MENU="bemenu"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2021-02-23 15:33:23 +00:00
|
|
|
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2021-02-27 02:03:19 +00:00
|
|
|
export OPENFAAS_URL="https://faas.serguzim.me"
|
2021-02-23 15:33:23 +00:00
|
|
|
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-10-14 09:51:49 +00:00
|
|
|
export PATH="$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.bin:$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
|
2022-06-30 12:24:33 +00:00
|
|
|
export PS1='\$ '
|
2020-12-23 15:39:36 +00:00
|
|
|
|
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"
|
2020-12-23 15:39:36 +00:00
|
|
|
|
2022-10-04 20:23:22 +00:00
|
|
|
export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"
|
2022-04-20 21:31:37 +00:00
|
|
|
export WOODPECKER_SERVER="https://ci.serguzim.me"
|
|
|
|
|
2021-02-23 15:33:23 +00:00
|
|
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
2021-02-13 21:52:08 +00:00
|
|
|
export ZSH="$ZDOTDIR/oh-my-zsh"
|
2021-02-23 15:33:23 +00:00
|
|
|
|
|
|
|
### conditionals
|
|
|
|
|
|
|
|
[ -x "$(command -v bat)" ] && export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
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
|