Thanks for putting chayang together!
I don't quite get chayang to work. As far as I can tell it seems to
build fine (clone repo, then build steps as in README). When running it
from the command line it dims the screen just fine and, as expected,
either exits after the timeout or when I type/move the mouse. However,
my understanding is that the ret-code in the latter case should be
non-zero but it is zero. Thus `chayang && swaylock`` will still lock on
pressing keys/moving the mouse to abort.
```
...tmp/chayang/build(master) >> ./chayang
### now moving the mouse or hitting a key
...tmp/chayang/build(master) >> echo $?
0
```
Am I missing something? Let me know if you need more info.
Swayloc v1.7, Sway v1.8, Arch Linux
On Wednesday, January 11th, 2023 at 14:29, mauro3@runbox.com <mauro3@runbox.com> wrote:
> I don't quite get chayang to work. As far as I can tell it seems to> build fine (clone repo, then build steps as in README). When running it> from the command line it dims the screen just fine and, as expected,> either exits after the timeout or when I type/move the mouse. However,> my understanding is that the ret-code in the latter case should be> non-zero but it is zero. Thus `chayang && swaylock`` will still lock on> pressing keys/moving the mouse to abort.
Sorry, this was a bug. Fixed in commit 03f80d8c6b21.