Add wayland stuff
This commit is contained in:
parent
77c58e5f98
commit
1b096b242a
7 changed files with 34 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue