~kennylevinsen/wlsunset-devel

Feature request: UNIX Socket for control signals

Details
Message ID
<EbbNWq8-PBgnDipdrcvvaJZak_DfEBWvWwvGVSifO3oJNVp7F3OOgD9x4DPM54ivpu374OwUUUXw9vo0L-r6tUdaH2VIloWN99JAJK1HLVQ=@protonmail.com>
DKIM signature
pass
Download raw message
Hello.

I am working on a patch that adds a UNIX socket to the list of file descriptors that wlsunset polls. The path to the UNIX socket is "/run/user/$UID/wlsunset.sock", and it accepts the control signals "suspend", "continue", and "toggle". The "suspend" and "continue" control signals are helpful in situations where wlsunset's state is unknown.

This feature is optional and enabled with the argument '-u'.

Would you be interested in this feature? If so, let me know, and I'll submit a patch for review.
Reply to thread Export thread (mbox)