trying to fix bookmark stuff
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user