- OS: Mac OS 10.15, not tested on other environment
- You can access his/her computer
- The root directory is sent to the target's computer
- No password is needed!
- Add a
jsound.m4a
to the root directory, need to change the filename respectively inwake.sh
if changed name / extension - Run
screen
on mac terminal to create background running env - Run
./sleepwatcher --verbose --sleep ./sleep.sh --wakeup ./wake.sh
- Press ctlr + a, d
- quit the terminal so that he/she won't find where the sound is from, HEHE
- Run
screen -r [tab for autocomplete]
- Stop running the process by ctrl + c
wake.sh
- Audio sound volume: can be changed from
50
to a range of 0 to 100 - Audio sound play duration: can be changed from
60
to any seconds, for details could checkman afplay
- Sleepwatches adopted from bernhard-baehr, which is in GNU General Public License