Update '.bash_profile'

master
Hektor Misplon 2024-01-30 21:51:18 +01:00
parent ac066bb076
commit 42df25d5cc
Signed by: hektor
GPG Key ID: 5151AF79E723F21C
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
export _JAVA_AWT_WM_NONREPARENTING=1
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
if [[ -z "${DISPLAY}" ]] && [[ "${XDG_VTNR}" -eq 1 ]]; then
exec startx "$HOME/.config/X11/xinitrc"
fi