diff --git a/glasshouse-desktop/home/scripts/scripts/nixcommit.sh b/glasshouse-desktop/home/scripts/scripts/nixcommit.sh index 9c4a045..bb1fe26 100755 --- a/glasshouse-desktop/home/scripts/scripts/nixcommit.sh +++ b/glasshouse-desktop/home/scripts/scripts/nixcommit.sh @@ -9,10 +9,12 @@ gen=$((gen + 1)) git diff --quiet if [ $? -eq 0 ]; then + scheck && runbg aplay ~/media/sound/sys/warning.wav echo "Nothing to commit" return fi git add . git commit -m "Gen $gen: $@" git push +scheck && runbg aplay ~/media/sound/sys/gitpush.wav builtin cd - || exit