trying to fix bookmark stuff

This commit is contained in:
2025-10-14 19:55:55 -07:00
parent a3605efaf3
commit e24fdc0691
6 changed files with 349 additions and 2 deletions

View File

@@ -24,7 +24,8 @@ if [ -n "$clipboard_text" ]; then
notify-send "Bookmark saved" "$clipboard_text"
# Run git update script
sh "$HOME/.local/bin/bookmark_update"
SSH_AUTH_SOCK="${SSH_AUTH_SOCK:-$(ls -1t /tmp/ssh-*/agent.* 2>/dev/null | head -n1)}" \
sh "$HOME/.local/bin/bookmark_update"
fi
else
notify-send "No text selected" "Please highlight some text to save as a bookmark."