Block input from devices while being cleaned
| platform | init | |
| .gitignore | init | |
| cleaner.h | init | |
| LICENSE | init | |
| main.c | init | |
| meson.build | release 0.1.0 | |
| README.md | init | |
microfiber
A basic C utility to block input while cleaning hardware.
compiling
$ meson setup build
$ meson compile -C build
usage
Must be run as root.
# ./microfiber
=> Usage: ./microfiber <seconds>
seconds time to block input devices
=> Example: ./microfiber 30
# ./microfiber 30
=> unlocking in 30 seconds...
features
Why use meson instead of e.g. POSIX make? The point is simply to autodetect the platform at compile time.
The current Linux implementation works fine. OSes such as FreeBSD, OpenBSD, OS/X and more are planned.