From 07fcb9a7e180c5e53aaf6a2bf817d5739b7149f2 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Thu, 25 May 2017 20:04:37 +0200 Subject: [PATCH] Fixed ssh-agent startup by moving it to xinit --- herbstluftwm/autostart | 4 ---- xconf/.xinitrc | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index cd6b309..c3eef01 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -15,16 +15,12 @@ hc keyunbind --all pkill dunst pkill xautolock pkill -s 15 hl_pracct #send SIGTERM for correct termination during write -pkill ssh-agent #correctly terminate the current agent #variables Mod=Mod4 # Use the super key as the main modifier ######### MACHINE SPECIFIC SETUP ######### ### All Machines #### -if [ -f $HOME/.config/agent_socket ]; then - eval `ssh-agent -a /tmp/ssh-$(cat $HOME/.config/agent_socket)` -fi ### Atlantis PC-specific setup ### if [[ "$HOST" == "atlantispc" ]]; then hc detect_monitors diff --git a/xconf/.xinitrc b/xconf/.xinitrc index a8121a9..de95438 100644 --- a/xconf/.xinitrc +++ b/xconf/.xinitrc @@ -1,3 +1,3 @@ -#!/bin/bash xrdb /home/ik15ydit/.Xresources +eval `ssh-agent` exec herbstluftwm