Protect My Eyes. A simple tool that tries to alarm you when you stick to the screen for too long time. Idle time are taken into account using ext-idle-notify-v1 protocol. And because of that, a wayland compositor supporting ext-idle-notify-v1 is needed.
- meson *
- wayland
- wayland-protocols *
- libnotify
* Build dependency
meson setup build/
ninja -C build/
Executable located at build/pme
.
Codes are mainly taken from swayidle. This tool is crafted for learning wayland protocols and programming purpose. In other words, it's just a toy, but at least it works. :)