diff options
| author | tslil clingman <tslil@posteo.net> | 2022-05-08 14:57:33 -0500 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.net> | 2022-05-08 14:57:33 -0500 |
| commit | 11842a3087070a8e33f84c4c0680ecf82480f3e3 (patch) | |
| tree | 96ea433fa5d3e7ec1b5959e87d11b08e5f6f9350 /kiss/.profile | |
| parent | 7095ac6f3903084e789e78da0458ca138163a621 (diff) | |
Track some more KISS pieces
Diffstat (limited to 'kiss/.profile')
| -rw-r--r-- | kiss/.profile | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/kiss/.profile b/kiss/.profile new file mode 100644 index 0000000..01e8207 --- /dev/null +++ b/kiss/.profile @@ -0,0 +1,92 @@ +# ----------------------------------------------------------------------------- +# Environment variables +export ENV=$HOME/.kshrc +export HISTFILE="$HOME/.histfile" +export HISTSIZE=8192 +export HISTCONTROL=ignorespace + +export EDITOR=kak + +PATH="$HOME/.cargo/bin/:$HOME/.local/bin/:$PATH" + +# 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" + +# Directories +#export TEXMFHOME=$HOME/.local/share/texlive +export XDG_DESKTOP_DIR=$HOME +export XDG_DOCUMENTS_DIR=$HOME/store/ +export XDG_DOWLOAD_DIR=$HOME/store/downloads/ +export XDG_MUSIC_DIR=$HOME/store/music/ +export XDG_PICTURES_DIR=$HOME/store/picutures/ +export XDG_PUBLICSHARE_DIR=$HOME/store/public +export XDG_TEMPLATES_DIR=$HOME/store/templates/ +export XDG_VIDEOS_DIR=$HOME/store/videos/ + +# ----------------------------------------------------------------------------- +# Kiss +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/repo/core/" +KISS_PATH="$KISS_PATH:$HOME/repositories/repo/extra/" +KISS_PATH="$KISS_PATH:$HOME/repositories/repo/wayland/" + +#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="-j4" +export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" +export CMAKE_BUILD_PARALLEL_LEVEL=4 +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 WLR_NO_HARDWARE_CURSORS=1 # fix sway pointer invisibility + +# ----------------------------------------------------------------------------- +# Misc + +# umask 077 + +# ----------------------------------------------------------------------------- +# SSH +if [ ! -f "$HOME/.ssh-agent" ]; then + ssh-agent | grep -v echo > $HOME/.ssh-agent + . $HOME/.ssh-agent +else + . "$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 |
