Implement support for Windows

This commit is contained in:
2024-07-10 19:54:38 -04:00
parent 288ef6a9c4
commit 0d50da7ceb
5 changed files with 131 additions and 81 deletions

View File

@@ -9,5 +9,5 @@ window was and calculates a session score from that.
To use AntiDrift, run `cargo run --release` directly, or `cargo build --release`
and copy the binary into your `PATH`.
Uses `xdotool` to get window titles and minimize windows. Currently Linux with
X11 is the only supported platform.
Under Linux, we use `xdotool` to get window titles and minimize windows. Under
Windows, we use the package `winapi` for the same functionality.