macOS tools moving to my git

This commit is contained in:
2026-05-10 12:53:30 -07:00
parent 61c0d4b5f1
commit 83156ea9e8
101 changed files with 3011 additions and 0 deletions

14
presleep Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
OUTPUT='/tmp/statusmail.txt'
START="$(date +%s)"
ESUBJ="$KMINFO_MacroName"
export ESUBJ
echo "" > ${OUTPUT}
/bin/bash $HOME/Dropbox/bin/presleep_quitapps >> ${OUTPUT}
/usr/bin/python3 $HOME/Dropbox/bin/send_status_mail3.py
DURATION=$[ $(date +%s) - ${START} ]
#cat /tmp/wakemaints.txt | fgrep "Wake reason"
rm ${OUTPUT}
sleep 30