Files
omarchy/bin
Wolfgang Woehl ddf0d1e8e0 Exit screensaver when mouse moves or clicks (#3723)
Turns out there are control codes for tracking mouse actions in xterm-compatible terminal emulators (mind blown).

This patch adds mouse action awareness to our beloved screensaver setup:

- on setup it sends the respective control codes for movement and click detection
- in the main loop it opens up the input reader to read raw bytes and, thus, enable to detect even so much as a mouse's squeak

Personally, I love swiping my trackpad to exit screensaver. But the explicit pressing-a-key to exit is nice, also.

And I don't know if many people have jitter issues with their mouses or trackpads. Reckon, if they had they wouldn't get to see the glory that TTE is anyway, ever :)

This is tested and working in Ghostty. Sorry for the low-effort testing.
2025-12-02 12:09:02 +01:00
..
2025-10-23 20:29:07 -04:00
2025-10-23 21:33:23 -04:00
2025-10-08 09:12:22 +02:00
2025-10-19 02:30:28 -04:00
2025-10-17 10:07:08 +03:00
2025-08-24 18:11:59 +02:00
2025-10-14 22:26:48 +03:00
2025-10-14 22:26:48 +03:00
2025-08-27 12:14:03 +02:00
2025-10-14 22:26:48 +03:00
2025-09-28 17:08:08 -04:00
2025-08-24 17:53:42 +02:00
2025-08-04 20:30:00 +02:00
2025-10-23 21:33:23 -04:00
2025-08-10 20:12:16 +02:00
2025-09-15 19:04:11 +02:00
2025-11-04 08:47:17 +01:00
2025-10-11 18:58:52 -04:00
2025-11-28 13:15:15 +01:00
2025-11-20 13:20:08 +01:00