Simple CLI regular alarm
This package is deprecated and will be deleted soon, instead, the timer package aims to replace it and has all the regular timer regal features available.
A very simple terminal regular alarm supporting seconds, minutes and hours that will play a song and display a message every x amount of time.
yaourt -a regal
or
yay -a regal
regal [EVERY_X_TIME] [TIME_MODE] [HOW_MANY_TIME] [AUDIO_PATH] options: EVERY_X_TIME must be an integer such as 42 TIME_MODE "h" for hours, "m" for minutes or "s" for seconds HOW_MANY_TIME number of repetition, must be an integer such as 42 or "inf" for ever AUDIO_PATH to play another audio than the duck one by default -h, --help show this help message and exit
For help:
regal -h
or
regal --help
Every 20 seconds for ever:
regal 20 s
Every 50 minutes for ever:
regal 50 m inf ~/audio/duck_song.mp3
Every hour for 4 hours:
regal 1 h 4 ~/audio/duck_song.mp3