From 6b3cbb38e7d6e9614b16e0a2a3049972e97575e9 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 2 Oct 2019 17:10:33 +0200 Subject: [PATCH] Add ssh-agent to autostart --- openbox/.config/openbox/autostart | 5 ++++- openbox/.config/openbox/environment | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/openbox/.config/openbox/autostart b/openbox/.config/openbox/autostart index bce99da..e1a7e4f 100755 --- a/openbox/.config/openbox/autostart +++ b/openbox/.config/openbox/autostart @@ -35,9 +35,12 @@ urxvtd -q -f -o & ## GPG (sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg2 --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") & +## SSH +(sleep 5; ssh-agent) & + ## Spacemacs daemon (sleep 4; cd ~/.emacs.d; git pull --rebase) & -(sleep 8; emacs --daemon=instance1) & +(sleep 10; emacs --daemon=instance1) & ## Display daemon (sleep 7; mons -a &) diff --git a/openbox/.config/openbox/environment b/openbox/.config/openbox/environment index 7fde258..2d691c3 100755 --- a/openbox/.config/openbox/environment +++ b/openbox/.config/openbox/environment @@ -1,2 +1,3 @@ ## GNOME Keyring +dbus-update-activation-environment eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)