diff --git a/files/.bashrc b/files/.bashrc index ee82fd6..dc51df6 100644 --- a/files/.bashrc +++ b/files/.bashrc @@ -10,7 +10,6 @@ DIR="\[\033[1;94m\]\w\[\033[m\]" export PS1="${HOST} ${DIR}${GIT} ${ICON} " # ============================== Aliases -alias emacsnw="TERM=xterm-direct emacs -nw" alias c='clear' alias l='ls -lh' #size,show type,human readable @@ -23,9 +22,9 @@ alias mv='mv -i' # ask before removal # ============================== SSH-Agent agent() { - if ! [ -S /tmp/mthomas-agent.sock ]; then + if ! [ -S $HOME/.ssh/mthomas-agent.sock ]; then echo "Starting ssh-agent" - ssh-agent -a /tmp/mthomas-agent.sock + ssh-agent -a $HOME/.ssh/mthomas-agent.sock ssh-add else echo "Agent already running" diff --git a/files/.config/dunst/dunstrc b/files/.config/dunst/dunstrc index 7b6d843..dbac465 100644 --- a/files/.config/dunst/dunstrc +++ b/files/.config/dunst/dunstrc @@ -15,7 +15,7 @@ # # If this option is set to mouse or keyboard, the monitor option # will be ignored. - follow = no + follow = keyboard # The geometry of the window: # [{width}]x{height}[+/-{x}+/-{y}] diff --git a/files/.profile b/files/.profile index c327644..73f0c4f 100755 --- a/files/.profile +++ b/files/.profile @@ -11,7 +11,7 @@ xmodmap -e "keycode 66 = grave asciitilde" export PATH=$PATH:$HOME/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin # ssh -export SSH_AUTH_SOCK=/tmp/mthomas-agent.sock +export SSH_AUTH_SOCK=$HOME/.ssh/mthomas-agent.sock # editor export EDITOR="vim" diff --git a/files/.zshrc b/files/.zshrc index 8492ab1..08fd7fd 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -87,9 +87,9 @@ export HISTFILE="$HOME/.zsh_history" export SAVEHIST=5000 # ============================== ssh-agent -if ! [ -S /tmp/mthomas-agent.sock ]; then +if ! [ -S $HOME/.ssh/mthomas-agent.sock ]; then echo "Starting ssh-agent" - ssh-agent -a /tmp/mthomas-agent.sock + ssh-agent -a $HOME/.ssh/mthomas-agent.sock ssh-add fi