2023-09-15 14:55:47 -07:00
|
|
|
# Some extra environment variables
|
|
|
|
export PATH="${HOME}/.local/bin:${PATH}"
|
|
|
|
|
2023-11-14 20:42:33 -08:00
|
|
|
# Because I use zsh to start graphical sessions
|
2024-01-12 15:05:09 -08:00
|
|
|
[[ -v ZSH_GRAPHICAL_LOGIN ]] || ZSH_GRAPHICAL_LOGIN=true
|
|
|
|
if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then
|
2023-09-15 14:55:47 -07:00
|
|
|
export LC_ALL=en_US.UTF-8
|
|
|
|
eval "$(gnome-keyring-daemon --start 2>/dev/null)"
|
2024-02-29 19:39:12 -08:00
|
|
|
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gcr/ssh"
|
2024-02-26 15:53:18 -08:00
|
|
|
export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
|
2023-09-15 14:55:47 -07:00
|
|
|
|
2023-11-14 20:42:33 -08:00
|
|
|
if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then
|
2024-04-28 21:14:14 -07:00
|
|
|
source "${HOME}/.config/river/river-env.sh"
|
|
|
|
exec river
|
2023-09-15 14:55:47 -07:00
|
|
|
fi
|
|
|
|
fi
|