Disable graphic start from .zprofile temporarily

This commit is contained in:
Tobias Reisinger 2022-12-31 01:07:29 +01:00
parent 0ff85399df
commit 8ab4eb4344
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 6 additions and 12 deletions

View file

@ -3,11 +3,11 @@
if [ -x "$(command -v gpgconf)" ]
then
ssh_sock=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK="$ssh_sock"
gpgconf --launch gpg-agent >/dev/null
ssh_sock=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK="$ssh_sock"
gpgconf --launch gpg-agent >/dev/null
fi
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then
exec $AUTOSTART_DISPLAY
fi
#if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then
# exec $AUTOSTART_DISPLAY
#fi