Reverse engineered prompt

GitHub

Build me a lightweight Wayland idle manager in Rust that feels smart instead of just being a simple timer. I want it to watch what is going on and only let the session go idle when I am actually inactive. It should support sequential timeouts so I can do things like dim first, then lock, then suspend later. It should notice media playback and optionally audio activity, and treat playing, paused, and muted streams differently. It should also let me stop idle behavior when certain apps are open, including with pattern matching, and it needs to respect Wayland and DBus inhibit requests from apps and browsers.

Please make it easy to control from the command line with commands to view status, watch events, pause idle for a while, resume, toggle manual inhibit, and trigger actions. I also want live config reload, clean logs, a simple readable config format, optional tray support, and status output that works nicely with a bar. Include sensible docs and examples, and look up current Wayland and DBus docs online if you need to.

Have a live product UI? Try website reverse