/Take-a-break-MacOS

Menu bar application for reducing eye strain and to avoid RSI.

Primary LanguagePython

Take a break!

Take a break is a macOS menu bar application for reducing eye strain and to avoid RSI.

Notification Counting work time Counting break time

Features

  • Counting remaining time of work (25 mins) and break (5 mins)
  • Notifications to take a break
  • Automatic timer restart after system wakes up from hibernation

Technologies & Libraries

  • Python 3.9
  • rumps

Custom setup

By default, work time is set to 25 mins, break to 5 mins and system wakes check interval to 1 min.
Fell free to set your own values in config.INI file.

Installing dependencies

To install dependencies to perform test run or build the app type:

pip3 install -r requirements.txt

Test run

To run the app without building just type:

python3 application.py

Custom build

To produce macOS application type:

pip3 install py2app
python3 application_setup.py py2app

It will create the app in dist/ directory.