summaryrefslogtreecommitdiff
path: root/kiss.profile
diff options
context:
space:
mode:
Diffstat (limited to 'kiss.profile')
-rw-r--r--kiss.profile46
1 files changed, 36 insertions, 10 deletions
diff --git a/kiss.profile b/kiss.profile
index a24d660..5c92b68 100644
--- a/kiss.profile
+++ b/kiss.profile
@@ -1,10 +1,31 @@
# -----------------------------------------------------------------------------
+# Environment variables
+export ENV=$HOME/.kshrc
+export HISTFILE=$HOME/.histfile
+export HISTSIZE=512
+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"
-# Kiss environment variables
+# 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"
@@ -17,9 +38,14 @@ 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/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"
@@ -29,9 +55,9 @@ KISS_PATH="$KISS_PATH:$HOME/repositories/noocsharp"
export CFLAGS="-O3 -pipe -march=native"
export CXXFLAGS="$CFLAGS"
-export MAKEFLAGS="-j2"
+export MAKEFLAGS="-j4"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-export CMAKE_BUILD_PARALLEL_LEVEL=2
+export CMAKE_BUILD_PARALLEL_LEVEL=4
export PATH="/usr/lib/ccache/bin:$PATH"
export KISS_SU=ssu
@@ -40,20 +66,20 @@ export KISS_SU=ssu
# Wayland stuff
export SDL_VIDEODRIVER=wayland
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
-export MESA_LOADER_DRIVER_OVERRIDE=crocus
+export WLR_NO_HARDWARE_CURSORS=1 # fix sway pointer invisibility
# -----------------------------------------------------------------------------
# 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
+ . $HOME/.ssh-agent
else
- source "$HOME/.ssh-agent"
+ . "$HOME/.ssh-agent"
if [ -n "$(ps | grep $SSH_AGENT_PID)" ]; then
ssh-agent | grep -v echo > $HOME/.ssh-agent
source $HOME/.ssh-agent