Commit Graph

47 Commits

Author SHA1 Message Date
d84b83c6d5 Make status file nicer 2024-07-10 21:05:57 -04:00
d4aa36f9b9 Write out status to file (resolves #6) 2024-07-10 20:45:02 -04:00
10b5511ff9 Ability to pause session to resolve #8 2024-07-10 20:31:16 -04:00
4fbd53efa5 Turn hardcoded strings into constants to resolve #4 2024-07-10 20:04:11 -04:00
0d50da7ceb Implement support for Windows 2024-07-10 19:54:38 -04:00
288ef6a9c4 Show all session results to resolve #3 2024-07-06 11:41:42 -04:00
f13dc7f10e Have a readme again to fix #1 2024-07-06 09:53:37 -04:00
abad26d9d2 No longer use intentention window for status 2024-07-06 09:46:55 -04:00
49bafa2567 Implement status window to resolve #2
A status window to tell the user the next steps.
Right now only provides warnings about missing
intention and invalid session duration.
2024-07-06 09:30:03 -04:00
860fe615ab Implement ability to rate window titles 2024-07-05 16:06:21 -04:00
38a03f063d Highlight active border and change duration
The intention and duration fields now get a thick border when the user
can input data into them.

There is now also a feature to change the session duration via `a` and
`x` during the session in case the user is done early or wants to
continue longer.
2024-07-05 11:56:19 -04:00
95dcfa72d6 Remove Python code 2024-07-05 10:53:50 -04:00
3b7d88f279 Implment rough TUI version of new workflow
Merge in Python stuff and then we will probably get
rid of it and continue in Rust only.
2024-07-05 10:52:12 -04:00
d97a4885cb Reformat code and add option to add keywords 2023-06-07 17:52:34 -04:00
f058c2235d Add the ability to set an intention 2023-05-28 13:30:42 -04:00
58c0e0a1ba Implement evaluation function using gpt 2023-05-28 12:58:59 -04:00
981709e965 Switch to asyncio with dbus-next 2023-05-27 17:11:46 -04:00
cce3c1b7f4 Improve logging and log file handling 2023-05-27 12:59:57 -04:00
00a6d2a00a Fix import error and kill existing antidrift windows on start 2023-05-27 11:37:03 -04:00
1a99219851 Log windows and intention (aka whiteblocks if active) 2023-05-26 16:55:46 -04:00
311cd49c06 Clean up spawn as root and CLI interface 2023-05-22 20:48:32 -04:00
e62f2924b0 Update license 2022-08-13 09:19:19 -04:00
f9d91b4053 Support regex based window matching. 2022-07-24 11:44:18 -04:00
9965ef273f Implement scheduling of blackbox sessions. 2022-07-24 11:21:14 -04:00
f255fcffee Add documentation for building antidrift into single executable. 2022-07-23 13:19:14 -04:00
2e4856f0e5 Implement window kill support for really bad keywords. 2022-07-23 12:46:14 -04:00
c82c52910c Reintroduce sudo feature to lock users out. Remove AW watcher because the dependency is annoying. 2022-07-23 12:37:05 -04:00
34691309db Log antidrift status to activity watch (requires aw-client and aw-core packages. 2022-07-13 22:35:14 -04:00
c3b9e9c067 Add status message, make colors nice and add auto start instructions. 2022-07-10 19:18:01 -04:00
b69d426d85 Fix lock when trying to stop while enforce sequence is active. 2022-07-02 21:09:50 -04:00
73a5585b3c Implement client/deamon communication for session start/stop. 2022-06-28 17:37:44 -04:00
0de11e8e0e Do not log during minimize count down loop. 2022-06-27 19:54:33 -04:00
02ad8b38a8 Implement colorful logging and autoreload for more fun. 2022-06-25 20:16:54 -04:00
3de609c3c1 Clean up code base. 2022-06-25 19:24:06 -04:00
0f8315fca2 Continue with client daemon implmentaton. 2022-06-23 17:11:23 -04:00
e48e01b07a Implement hello world dbus and assynchronous enforcing. 2022-06-22 20:21:22 -04:00
0eed43c915 Repurpose FocusFriend to get AntiDrift off the ground. 2022-06-21 21:29:31 -04:00
1d40434bf0 FocusFriend is now AntiDrift. 2022-06-18 15:51:24 -04:00
488aee46ab FocusFriend is now called aw-focus enforces aw-commit. 2021-11-26 21:21:41 -05:00
5b6b7927b9 Switch to new configuration file. Fix bug when finding window title. 2021-10-29 18:51:16 -04:00
ac37021424 Create config file and VS code workspace. 2021-10-25 17:52:13 -04:00
bf491f5e19 Implement block list and window name logging. 2021-10-20 22:09:00 -04:00
718a3ce3eb Terminate blockers that are already running. 2021-10-19 20:20:50 -04:00
4b76ec2d61 Blocker can now send notify-send messages as root. 2021-10-17 11:30:15 -04:00
f6f0715cb3 Blocker script sends notification before killing a program. 2021-10-14 14:32:19 -04:00
ba8dfef3fc Add existing scripts. 2021-10-12 21:58:56 -04:00
38d50f38ab Initial commit 2021-10-13 03:57:01 +02:00