Fixed ssh-agent startup by moving it to xinit

This commit is contained in:
Sheppy
2017-05-25 20:04:37 +02:00
parent 85d544a8f3
commit 07fcb9a7e1
2 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -1,3 +1,3 @@
#!/bin/bash
xrdb /home/ik15ydit/.Xresources
eval `ssh-agent`
exec herbstluftwm