diff options
Diffstat (limited to 'kiss.profile')
| -rw-r--r-- | kiss.profile | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/kiss.profile b/kiss.profile new file mode 100644 index 0000000..a24d660 --- /dev/null +++ b/kiss.profile @@ -0,0 +1,65 @@ +# ----------------------------------------------------------------------------- +# Language +export LANG=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 +# export TZ="EST+5EDT,M3.2.0/2,M11.1.0/2" + +# Kiss environment variables +export KISS_PATH="" +export KISS_HOOK="" +export KISS_COMPRESS="zst" + +for repo in community disks games overrides sound wayland; do + KISS_PATH="$KISS_PATH:$HOME/repositories/my-kiss/$repo" +done + +KISS_PATH="$KISS_PATH:$HOME/repositories/tex/extra" +KISS_PATH="$KISS_PATH:$HOME/repositories/tex/texlive" +KISS_HOOK="$HOME/repositories/tex/kiss-tex-hook" + +KISS_PATH="$KISS_PATH:$HOME/repositories/official/core" +KISS_PATH="$KISS_PATH:$HOME/repositories/official/extra" +KISS_PATH="$KISS_PATH:$HOME/repositories/official/wayland" + +KISS_PATH="$KISS_PATH:$HOME/repositories/community/community" +KISS_PATH="$KISS_PATH:$HOME/repositories/featyre/community" +KISS_PATH="$KISS_PATH:$HOME/repositories/ioraff/dbus/" +KISS_PATH="$KISS_PATH:$HOME/repositories/kiss-bloat/community" +KISS_PATH="$KISS_PATH:$HOME/repositories/noocsharp" + +export CFLAGS="-O3 -pipe -march=native" +export CXXFLAGS="$CFLAGS" +export MAKEFLAGS="-j2" +export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" +export CMAKE_BUILD_PARALLEL_LEVEL=2 +export PATH="/usr/lib/ccache/bin:$PATH" + +export KISS_SU=ssu + +# ----------------------------------------------------------------------------- +# Wayland stuff +export SDL_VIDEODRIVER=wayland +export XDG_RUNTIME_DIR="/run/user/$(id -u)" +export MESA_LOADER_DRIVER_OVERRIDE=crocus + +# ----------------------------------------------------------------------------- +# Misc +PATH="$HOME/.cargo/bin/:$HOME/.local/bin/:$PATH" +# umask 077 + +# ----------------------------------------------------------------------------- +# SSH +if [ ! -f "$HOME/.ssh-agent" ]; then + ssh-agent | grep -v echo > $HOME/.ssh-agent + source $HOME/.ssh-agent +else + source "$HOME/.ssh-agent" + if [ -n "$(ps | grep $SSH_AGENT_PID)" ]; then + ssh-agent | grep -v echo > $HOME/.ssh-agent + source $HOME/.ssh-agent + fi +fi + +# ----------------------------------------------------------------------------- +# Greet +pfetch |
