You are not logged in.
I've had trouble getting up in the morning. Alarm clocks are generally too repetitive sounding, and my mind quickly learns how to tune them out. I know there have been various alarm clocks posted in the past, but none were precisely what I wanted.
My desires were simple. It had to bring my computer back from suspend. It had to allow for any arbitrary media to be played. It had to have a reliable fallback in case the media failed. Finally, it had to have gradually increasing volume.
I coded this Bash script up to satisfy those requirements. I know some people also have the requirement to make shutting off the alarm a challenge. For that, try sticking your keyboard somewhere very inconvenient.
I hope you find it useful, or at least informative.
The actual script can be found at https://gist.github.com/bdjnk/7435ae561dc7516b7728
A fairly in depth analysis can be found at http://bitmote.com/index.php?post/2015/ … -with-Bash
If you're using it, or learned something interesting from it, let me know. Thanks.
Last edited by bdjnk (2015-07-05 23:32:06)
Offline
I've updated the alarm script, several times, and I've written an in depth post analyzing it for educational purposes.
Last edited by bdjnk (2015-07-05 23:33:39)
Offline