A simple Command Line interval timer. Made it in like a hour. I made it this to help me with my meditaiton, because sometimes I only brought laptop. Lol.
I didn't provide the guide in the command (my bad). So here's how:
timer 1h20m'X'[bowl] // This will create a timer called 'X', of 1 hour and 20 minute, with alarm of 'bowl' in `ringtone/`
timer 1h20m'X'[bowl]; 5m'Y'[bell] // This will do exacty like above, EXCEPT, after it ends, it will run another timer called 'Y', of 5 minutes, with alarm of 'bell' in `ringtone/`
timer --save-template "test" 1h20m'X'[bowl] // Saved the current timer interval as "Test" in `template.json`
timer -l // List the whole saved template
timer {template_name} // Run a saved timer with template_name. For test, you can try run `timer {meditation_hour}` instead.
<Ctrl + C> + Y/N // To initiate process termination reuest, Y=yes, N=no
<W> // To pause
<Q> // Force quit
- On your terminal, run
python timer.py 1m20s'TEST' [bowl]
for example
Make sure you installed the requirements already
- Clone this repo to your
C:/Users/[your-name]
asbin
(I assume you know how) - Go to
Computer
, right shift and clickProperty
, go toAdvanced
, andClick
Environmental Variables - On
System Variables
, choose Path and clickEdit
- Click
New
, and add thisC:\Users\[your-name]\bin\
- Click
Ok
, andOk
, andOk
- On your Command Line, run
timer 1m20s'TEST' [bowl]
(will run a 1 minute 20 second timer labelled TEST with alarm of bowl inringtone/