Fixed SSH-Agent startup and keyaddding

This commit is contained in:
Sheppy
2017-05-11 14:10:13 +02:00
parent c98e6f4ff2
commit e94b1f96a4
2 changed files with 12 additions and 7 deletions

View File

@@ -14,12 +14,17 @@ xsetroot -solid '#5A8E3A'
hc keyunbind --all
pkill dunst
pkill xautolock
pkill -s 15 hl_pracct #send SIGTERM for correct termination during write
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