| Crates.io | xidlehook-core |
| lib.rs | xidlehook-core |
| version | 0.3.0 |
| created_at | 2019-10-13 17:41:04.901931+00 |
| updated_at | 2021-03-04 12:54:10.266193+00 |
| description | xidlehook core library |
| homepage | |
| repository | https://gitlab.com/jD91mZM2/xidlehook |
| max_upload_size | |
| id | 172177 |
| size | 79,384 |
This is the core of xidlehook, abstracted away as a library. The idea is to keep the core reusable between different front-ends.
See GitHub issue #27 for an example why this split was made. Splitting some of the work out in a library is also good for testing :)
In case this wasn't confusing enough for readers, there's also an
example named "xidlehook" which is basically a stripped-down version
of xidlehook-daemon. The reason for this is just to give a starting
point to people making their own clients that do not have to have a
full-blown async event loop like the current tool itself.
Preferrably, the feature creepiness of this crate should be turned all the way down. I am a big fan of the Unix philosophy of keeping things simple by design. The exception here are some basic modules that most people will want.
In short, use xidlehook-daemon and not this.