Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luke7-404/take-a-break

This project is for window users to have a pomodoro-like notification system.
https://github.com/luke7-404/take-a-break

beginner beginner-code code-review configurable pomodoro-clock python

Last synced: 3 days ago
JSON representation

This project is for window users to have a pomodoro-like notification system.

Awesome Lists containing this project

README

        

# Take A Break Python Script
This project is intended for window users to have a pomodoro-like notification system. The libaries used in ``app.py`` are ``plyer``, ``datetime``, and ``time``.

## How to edit the script:
To change the interval time (the amount of working time) alter the ``INTERVAL_TIME`` variable (the units are in minutes).

To change the time between the time intervals alter the ``REST_TIME`` variables with the number of minutes between the intervals.

## Benchmarking ``app.py``:
There is a file in this repo, called ``benchmark.py`` that allows for the ``app.py`` script to be benchmarked. I encourage that before having the ``app.py`` script run on your machine, the script should be benchmarked!

## Build and use script (Windows instructions)
Once configuring ``app.py`` and benchmarking it, to make the script into a windows executable use ``pyinstaller``.


  1. Install pyinstaller:

      pip install pyinstaller


  2. Create a .exe:

      pyinstaller --name "Take-A-Break" -- onefile --noconsole app.py



      This generates an executable file in the dist/ folder.


### How to make the script run on start up


  1. Create a shortcut for the Take-A-Break.exe

  2. Add shortcut to startup folder:

    1. Run the command win + r

    2. In the window type shell:startup

    3. Add the Take-A-Break.exe shortcut to the folder that opened



######

This program uses the MIT License, please look at the license page for more information