script: try and get notification working
This commit is contained in:
parent
7d61f1880d
commit
9a496a120f
1 changed files with 2 additions and 1 deletions
|
@ -24,10 +24,11 @@ if [ "$changes_exist" -eq 0 ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
echo "Changes exist. Updating remote..."
|
||||
git pull >/dev/null 2>&1
|
||||
git add .
|
||||
git commit -q -m "Autosave: $(date +"%Y-%m-%d %H:%M:%S")"
|
||||
notify-send "Auto-save complete" "Zettelkasten changes committed to remote repository"
|
||||
git push
|
||||
|
||||
notify-send "Auto-save complete" "Zettelkasten changes committed to remote repository"
|
||||
|
|
Loading…
Add table
Reference in a new issue