buncha stuff

This commit is contained in:
2025-04-17 19:19:37 -07:00
parent d4d48ef96d
commit f18f11279f
9 changed files with 714 additions and 14 deletions

View File

@@ -1,10 +1,5 @@
#!/bin/sh
# Try to source keychain's environment file
if [ -f "$HOME/.keychain/$(hostname)-sh" ]; then
. "$HOME/.keychain/$(hostname)-sh"
fi
# Define the paths and repository
bookmarks_file="$HOME/.local/share/bookmarks/bookmarks"
repo_path="$HOME/.local/share/bookmarks"
@@ -20,9 +15,9 @@ if [ -n "$(git status --porcelain "$bookmarks_file")" ]; then
git commit -m "Update bookmarks file"
# Push the changes and log output
GIT_SSH_COMMAND="ssh -i ~/.ssh/ry_ecdsa" git push origin master 2>&1 | tee -a /tmp/bookmark_git_push.log
#git push origin master
notify-send "Bookmarks updated" "Push your changes."
notify-send "Bookmarks updated" "Please push your changes."
else
notify-send "No changes" "No changes to the bookmarks file."
fi