summaryrefslogtreecommitdiff
path: root/kiss.profile
blob: a24d660a695baae0c60c79b5bf944e41b6484788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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