Skip to content

Eliminate your source of procrastination in x minutes.

Notifications You must be signed in to change notification settings

aaron-price/Motivation_Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Timer

Set up

  1. Download to your computer
  2. Open your .bash_profile
  3. Insert the following code anywhere:
function timer() {
    python path/to/timer.py
}
function pomodorro() {
    python path/to/pomodorro.py
}

Caveats

Only works on MacOS

Requires your python cli command to use python 3.6+. Check it by running python --version. You might need to upgrade or use python3 in the bash functions.

Usage

Simple Timer

Start a new terminal window and type timer

It will close your browser (or any other app) after a specified time.

~/Documents:$ timer
How many minutes shall I wait? (Default: 60) | 45
Which app do you want to close at the end? (Default: Chrome) |
Ok, closing Chrome at 12:10!
...

Pomodorro Timer

Start a new terminal window and type pomodorro

It will endlessly open and close your browser at the specified intervals until you stop the script with Ctrl + c

~/Documents:$ pomodorro
How many minutes on? (25) | 
How many minutes off? (5) | 
Pick an app to close (Chrome) | 
Which url do you want to open? (https://google.com) |
Closing Chrome at 13:56.

About

Eliminate your source of procrastination in x minutes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages