11# AntiProcrastinator
22
3+ ## Windows only, cross-platform support WIP
4+
35A Python script that yells at you for doing things you shouldn't be. Yes, I was procrastinating when I made this.
46
57Features:
68
7- - Immediately yells at you on launch
8- - Monitors the focused window and yells at you if you're procrastinating
9- - Matches blacklisted strings in the window name
10- - Pauses any media you're playing to yell at you
11- - Regularly reminds you how close your deadline is
12- - Customisable insults
13- - Realtime config changes (no need to restart the program)
14- - Completely customisable actions (e.g. play a sound, print to console, etc.)
15- - Extending the project and adding your own actions is very simple by simply extending ` action.Action ` .
16- - You can make actions from emailing someone to shutting down your computer.
9+ - Immediately yells at you on launch
10+ - Monitors the focused window and yells at you if you're procrastinating
11+ - Matches blacklisted strings in the window name
12+ - Pauses any media you're playing to yell at you
13+ - Regularly reminds you how close your deadline is
14+ - Customisable insults
15+ - Realtime config changes (no need to restart the program)
16+ - Completely customisable actions (e.g. play a sound, print to console, etc.)
17+ - Extending the project and adding your own actions is very simple by simply extending ` action.Action ` .
18+ - You can make actions from emailing someone to shutting down your computer.
19+ - Break feature with customisable duration
1720
1821## Usage:
1922
20- - [ Download the latest release] ( https://github.com/KingWaffleIII/AntiProcrastinator/releases ) and run once.
21- - Run ` configurator.exe ` to edit the config.
22- - Run ` AntiProcrastinator.exe ` !
23-
24- - ** Available actions:**
25- - ` Sleep `
26- - ` Say `
27- - ` Exit `
28- - ` Playsound `
29- - ` Closewindow `
30- - ` Print `
31-
32- - ** Wildcards:**
33- - ` {deadline} ` -> ` get_deadline() `
34- - ` {insult} ` -> ` get_insult() `
35- - ` {timer_diff} ` -> ` get_timer_diff_in_text() `
36- - ` {window} ` -> ` window `
37-
38- - (recommended but optional) Add to Task Scheduler or equivalent (put the executable in ` shell:common startup ` in Windows Explorer) to run on startup
23+ - [ Download the latest release] ( https://github.com/KingWaffleIII/AntiProcrastinator/releases ) and run once.
24+ - Run ` configurator.exe ` to edit the config.
25+ - Run ` AntiProcrastinator.exe ` !
26+
27+ - ** Available actions:**
28+
29+ - ` Sleep `
30+ - ` Say `
31+ - ` Exit `
32+ - ` Playsound `
33+ - ` Closewindow `
34+ - ` Notify `
35+
36+ - ** Wildcards:**
37+ - ` {deadline} ` -> ` get_deadline() `
38+ - ` {insult} ` -> ` get_insult() `
39+ - ` {timer_diff} ` -> ` get_timer_diff_in_text() `
40+ - ` {window} ` -> ` window `
41+
42+ - (recommended but optional) Add to Task Scheduler or equivalent (put the executable in ` shell:common startup ` in Windows Explorer) to run on startup
3943
4044This runs the script on startup and in the background.
4145Enable this if you use Task Scheduler else TTS will not work:
@@ -44,4 +48,4 @@ Enable this if you use Task Scheduler else TTS will not work:
4448
4549You can run the Python script from cloning or the executable from releases, ** but make sure to have ` config.json ` in the same directory** .
4650
47- Note: when using ` actions.PlaySound ` , remember to add the sound files to ` AntiProcrastinator.spec ` if using Pyinstaller.
51+ Note: when using ` actions.PlaySound ` , remember to add the sound files to ` AntiProcrastinator.spec ` if using Pyinstaller.
0 commit comments