Code Monkey home page Code Monkey logo

take-a-break's Introduction

take-a-break

Python command line tool to remind you to take breaks when working.

Quick setup (MacOS)

Open the take-a-break folder after downloading and run the following command in the terminal: ./setup.sh

Enter the alias you want to use for this tool. I personally use it as work This creates an alias named work or whatever else you decide to use in your .zshrc file. You can now use work (or your alternative chosen alias) followed by the appropriate commands to use the tool.

How to use the tool:

When work mode is enabled, you will be reminded to take a break from your work every 30 mins via a popup window.

The state of work mode can be altered using the following commands (assuming chosen alias is work) :

work get -> get current state of work mode (can be 'set' or 'unset')
work set -> set work mode to 'set'
work unset -> set work mode to 'unset'
work next -> get  time remaining until next reminder
work update -> set next reminder to 30 minutes from now. Only works if work mode is 'set'.

Note

update achieves the same result as runnning unset followed by set and next.

take-a-break's People

Contributors

jasonel1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.