-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zprofile
executable file
·47 lines (33 loc) · 911 Bytes
/
.zprofile
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
#if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -le 3 ]]; then
# exec startx
#fi
# JetBrains IDE stuff
export _JAVA_AWT_WM_NONREPARENTING=1
#export PYCHARM_JDK=/usr/lib/jvm/java-11-openjdk/
#export CL_JDK=/usr/lib/jvm/java-11-openjdk/
# Mozilla options
# run on wayland
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
# QT optionsa
export QT_QPA_PLATFORM=wayland
# GO Path
export GOPATH=~/.go
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval $(ssh-agent -s)
fi
for key in ~/.ssh/id_*; do
if [[ -f "$key" && "$key" != *.pub ]]; then
ssh-add "$key"
fi
done
if [ "$(tty)" = "/dev/tty1" ]; then
exec sway
exec thunar --daemon
fi
if [ "$(tty)" = "/dev/tty2" ]; then
exec Hyprland
exec thunar --daemon
fi