diff --git a/dotfiles/bash/.bash_profile b/dotfiles/bash/.bash_profile new file mode 100644 index 0000000..28e0f89 --- /dev/null +++ b/dotfiles/bash/.bash_profile @@ -0,0 +1,11 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc + +if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + eval $(ssh-agent) + + exec /usr/bin/sway +fi diff --git a/dotfiles/ssh/.ssh/config b/dotfiles/ssh/.ssh/config index 428d0fc..7923fdc 100644 --- a/dotfiles/ssh/.ssh/config +++ b/dotfiles/ssh/.ssh/config @@ -1,3 +1,6 @@ +Host * + AddKeysToAgent yes + Host kyle Hostname kyle.lubi.link IdentitiesOnly yes