aviaryan / utility-bash-scripts

🤓 Useful bash scripts to do automatable tasks with a single command
MIT License
419 stars 66 forks source link

Added clock timer #29

Open anubhav-sharma13 opened 4 years ago

anubhav-sharma13 commented 4 years ago

A popular time management technique uses a timer to break down work into intervals (usually 25 mins) followed by a small break. created a BASH script to aid this process. Taken a command line argument for the number of iterations (work + break). Print notifications about the breaks (5 mins) or time to work (25 mins) in the terminal. Every 4 iterations, include a long break (15 mins). Print notification when all the cycles are complete. Example usage: bash timer.sh 2 Output structure:

1 work

1 break time

2 work

2 break time

Finished

anubhav-sharma13 commented 4 years ago

Working perfectly