Morning wake up alarm menu-driven bash script. Uses mainly cron scheduler and audacious audio player.
- Add / remove, set (time, days of week, audio track), enable / disable several alarm jobs.
- Robust repeated run.
- Sets system sound volume using pulse audio. Smooth volume incrementation.
- Logging.
- Crontab backup.
- Desktop notifications.
- Time spelling.
- Use text menu interface to manage alarm jobs (add / remove, set, enable / disable).
- issue
$ sudo rtcwake -m no -t $(date +%s -d '<time_to_wake_your_pc>'); sudo pm-suspend
- When the time has come to be awaken and music is playing, issue
killall audacious
and go back to sleep. :-) - When your are definitely awaken, issue
killall audacious ; killall alarm.sh
and go brush your teeth. :-)
- bash
- gawk
- sed
- audacious
- cron (crontab utility)
- pulseaudio-utils (pactl utility)
- libnotify-bin (notify-send utility)
- festival
Integrate rtcwake, pm-suspend Port to Python to make it cross-platform?
Many. But it yet works and wakes up good. At least for me. I use it on a regular basis.
Feel free to create, open an issue if you have suggestions, questions, difficulties or problems while using alarm.sh.