aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/start
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/start')
-rwxr-xr-x.config/hypr/start7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/hypr/start b/.config/hypr/start
index f52cc13..05c20f4 100755
--- a/.config/hypr/start
+++ b/.config/hypr/start
@@ -3,4 +3,11 @@
export XDG_RUNTIME_DIR="/tmp/hyprland"
mkdir -p $XDG_RUNTIME_DIR
chmod 0700 $XDG_RUNTIME_DIR
+
+gpg-connect-agent updatestartuptty /bye >/dev/null
+unset SSH_AGENT_PID
+if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
+ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+fi
+
exec dbus-launch --exit-with-session Hyprland