Skip to content

nuvious/SelfControlLocker

Repository files navigation

Self Control Locker

A simple application to lock the desktop to promote "self control" during specific hours and days of the week, configurable via a simple json configuration file in the user's home directory.

Setup and Demo Video

Configuration format

The configuration file will be auto-generated during the first run and is a dictionary of integers (0-6 for Sun-Sat) to a daily configuration object in the following format:

  "1": {
    "delay": 1000,
    "start": 0,
    "end": 16
  },

delay - Time in ms between attempts to lock the machine. start - Start hour to lock the machine. (0 - Midnight) end - End hour to stop locking the machine. (16 - 4pm local time)

About

An app that runs in the background and locks the desktop during set hours/days of the week to promote self-control.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages