Coder Social home page Coder Social logo

normnxt / global_keybind_timer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 581 KB

Timer for measuring time (hours and minutes) spent on a task without tabbing through any windows.

License: GNU General Public License v3.0

Batchfile 7.03% Python 92.97%
timer timer-app timer-application timer-clock timers timertask

global_keybind_timer's Introduction

global_keybind_timer

Timer for logging time spent on task(s) without having to tab through windows to click buttons. Plays a beep/alarm after the timer has been inactive for 5 minutes, for productivity reasons, to assist in staying active and keeping track of time while completing tasks or working from home.

1. Setting custom keybindings, turning the beep timer on/off, and adjusting the time interval is done in settings.json file.

2. Logs time and all user actions to .txt file for record keeping

3. Script can be executed from provided run.bat file, it checks for a venv and sets one up along with dependencies if it does not already exist.

Screenshot 2023-12-10 043915

Timer Features

  • Presents time in hours and minutes (rounds to nearest minute), but keeps time in seconds
  • Starts recording time on keypress (F8)
  • Stops recording time on second keypress (F8) and adds it to total
  • Able to edit total time (shift+F7)
  • Able to undo last addition to time (shift+F8)
  • Able to start a new session and clear total time (shift+F9)

Other info

  • Need to pip install keyboard and pip install playsound==1.2.2 dependencies if not using the .bat file.
  • If not using .bat, run timer.py like any other script, with a basic command in command prompt window (edit path as necessary):
cd path\to\global_keybind_timer\src
python timer.py

Install dependencies from requirements.txt file:

pip install -r requirements.txt

global_keybind_timer's People

Contributors

normnxt avatar

Stargazers

 avatar

Watchers

 avatar

global_keybind_timer's Issues

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.