diff --git a/bash/bash_login.host b/bash/bash_login.host index 0699ad4ba..fd3902d91 100644 --- a/bash/bash_login.host +++ b/bash/bash_login.host @@ -3,15 +3,16 @@ ## Configure static SSH Agent export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock" if [ -e $SSH_AUTH_SOCK ]; then - rm $SSH_AUTH_SOCK + rm $SSH_AUTH_SOCK fi if [ -e "$HOME/.spool/ssh-agent.env "]; then - rm "$HOME/.spool/ssh-agent.env" + rm "$HOME/.spool/ssh-agent.env" fi -if [[ "`pgrep ssh-agent`" ]]; then - pkill ssh-agent +if [[ "$(pgrep ssh-agent)" ]]; then + pkill ssh-agent fi . "$HOME/scripts/ssh-agent.sh" # Static/predictable Sway socket -export SWAYSOCK="`sway --get-socketpath`" +export SWAYSOCK="$HOME/.spool/sway-ipc.sock" +#export SWAYSOCK="`sway --get-socketpath`"