Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rbrich/computer-time

Measures computer time, notifies to take a break. MacOS app.
https://github.com/rbrich/computer-time

Last synced: 26 days ago
JSON representation

Measures computer time, notifies to take a break. MacOS app.

Awesome Lists containing this project

README

        

Computer Time
=============

A macOS app to measure time you spend in front of computer screen.

![screenshot](docs/screenshot.png)

Features:

- shows current computer time in menu bar ("pie clock" icon)
- notifies you when it's time to take a break (after 1 hour by default)
- resets when you take a break (at least 3 minutes in screensaver or computer sleep)

Dependencies:

- python3
- rumps
- reportlab (to generate PDF icons)

Generate PDF icon:

make icon

Create App:

python3 setup.py py2app

Development
-----------

Run in alias mode:

python3 setup.py py2app -A
./dist/Computer\ Time.app/Contents/MacOS/Computer\ Time

References:
- Screensaver notifications:
[Stack Overflow 1419531](http://stackoverflow.com/questions/1419531/mac-screensaver-start-event/1561512#1561512)
- Sleep and wake notifications:
[Apple Technical Q&A QA1340](https://developer.apple.com/library/mac/qa/qa1340/_index.html)