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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "Changes exist. Updating remote..."
|
echo "Changes exist. Updating remote..."
|
||||||
git pull >/dev/null 2>&1
|
git pull >/dev/null 2>&1
|
||||||
git add .
|
git add .
|
||||||
git commit -q -m "Autosave: $(date +"%Y-%m-%d %H:%M:%S")"
|
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
|
git push
|
||||||
|
|
||||||
notify-send "Auto-save complete" "Zettelkasten changes committed to remote repository"
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue