adding another hack for cosmic desktop

This commit is contained in:
Morgan McMillian 2024-08-17 08:36:14 -07:00
parent 06d5066997
commit 730609325e

5
.bash_profile-cosmic Normal file
View file

@ -0,0 +1,5 @@
# The alpha release of cosmic doesn't support xdg autostart so this is a hack to handle my ssh-agent
if [ "${XDG_CURRENT_DESKTOP}" == "COSMIC" ]; then
ps -ef | grep "ssh-agent" |grep -v grep > /dev/null || ssh-agent -a /run/user/1000/ssh-agent.socket
export SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
fi