Add wayland stuff

This commit is contained in:
Tobias Reisinger 2022-03-26 15:08:10 +01:00
parent 77c58e5f98
commit 1b096b242a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 34 additions and 53 deletions

View file

@ -1,11 +1,14 @@
. "$HOME/.config/environment"
. "$HOME/.config/aliasrc"
if [ -x "$(command -v gpgconf)" ]; then
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
if [ -x "$(command -v gpgconf)" ]
then
ssh_sock=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK="$ssh_sock"
gpgconf --launch gpg-agent
gpg2 --card-status > /dev/null
fi
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec $AUTOSTART_DISPLAY
exec $AUTOSTART_DISPLAY
fi