A super simple command to create an alarm.
- Install
mplayer
andsleep
- Run
chmod +x alarm.sh
- Run
./alarm.sh <time_frame>
.time_frame
examples:3s
,5m
,1h
To play an audio other than the default one, change the value of ALARM_SOUND_PATH
in alarm.sh