Skip to content

yoarch/regal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regal

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.

Installation

yaourt -a regal
or
yay -a regal

Usage

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

Examples

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

About

a simple regular alarm for terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages