|
0ce211b46d
|
Use the XLib DPMS extension from C wrappers instead of subprocess calls
|
2021-10-24 14:12:22 +02:00 |
|
|
00bacdec3e
|
Improve XLib-XInput error handling
|
2021-10-24 14:09:00 +02:00 |
|
|
56b65b8449
|
Use Xlib code to find a keyboard instead of relying on user config
|
2021-10-22 15:15:52 +02:00 |
|
|
9ca48b7bf8
|
Further improve XLib code and include go code capable of calling it
|
2021-10-22 15:15:11 +02:00 |
|
|
0729d9a9ee
|
Move includes to source file
|
2021-10-16 22:43:34 +02:00 |
|
|
86ed0f7989
|
Improve hacky XLib code
|
2021-10-16 22:39:47 +02:00 |
|
|
bae3b95b6c
|
Improve cleanup logic (handle singals gracefully) and use config magic
|
2021-10-16 22:39:47 +02:00 |
|
|
0177d349df
|
Add poc to parse config from env. Should refactor (famous last words)
|
2021-10-16 22:39:47 +02:00 |
|
|
8ae7f2cf5b
|
Add some hacky PoC XLib/XInput C code to fetch slave device nodes
|
2021-10-16 22:39:45 +02:00 |
|
|
771ddc8ce3
|
Fix forgotten errno return in evdev C code
|
2021-10-15 20:55:41 +02:00 |
|
|
98ed8d9a29
|
Remove logfile if it's empty before exiting
|
2020-09-09 23:51:53 +02:00 |
|
|
4689797c78
|
Move logging to separate file
|
2020-09-09 23:48:27 +02:00 |
|
|
37989135a7
|
Slightly increase loop delay
|
2020-09-08 16:34:19 +02:00 |
|
|
b27bf63162
|
Rename package
|
2020-09-08 16:32:55 +02:00 |
|
|
9747cfe33b
|
Explain keypress sleep debouncing in hybernateDisplayLoop
|
2020-09-08 16:14:34 +02:00 |
|
|
fbcb69a855
|
Avoid not exiting on unlocked screen with constant keyboard activity
|
2020-09-08 15:45:50 +02:00 |
|
|
6cea681f6f
|
Refactor error handling for cleaner code
|
2020-09-08 15:45:26 +02:00 |
|
|
b652c48bd4
|
Simplify stop logic (closing a RO fd is not worth the added complexity)
|
2020-09-08 15:41:31 +02:00 |
|
|
93da02bf90
|
Setup proper logging
|
2020-09-08 15:27:52 +02:00 |
|
|
f80f2be784
|
Group lockscreen and display suspension related code
|
2020-09-08 14:08:54 +02:00 |
|
|
48aaf76c8a
|
Fix busy loop (sleep wouldn't be triggered when the display is off)
|
2020-08-21 10:35:05 +02:00 |
|
|
78c216486f
|
Make granule of reuse the granule of release (avoid exporting 30 lines)
|
2020-08-20 17:07:05 +02:00 |
|
|
ebbd1974df
|
Invert display and lockscreen control dependencies
|
2020-08-20 16:57:57 +02:00 |
|
|
e6458aba0b
|
Ensure only a single instance of after-lock runs at a time
|
2020-08-20 15:57:17 +02:00 |
|
|
8b89bcb3f6
|
Refactor main and display hibernating logic from eachother
|
2020-08-18 16:28:35 +02:00 |
|
|
8bba5b30a4
|
Refactor screensaver package into display and lockscreen
|
2020-08-18 13:15:45 +02:00 |
|
|
97884bfb64
|
Refactor main
|
2020-08-18 12:30:55 +02:00 |
|
|
8222f24fa7
|
Expor AtomicFlag type
|
2020-08-18 12:30:39 +02:00 |
|
|
9fd5c8af53
|
Add README
|
2020-08-18 11:39:15 +02:00 |
|
|
2da93cd928
|
Add .gitignore
|
2020-08-18 11:07:40 +02:00 |
|
|
4db8abf204
|
Implement proof of concept core logic (requires refactor)
|
2020-08-18 11:06:59 +02:00 |
|
|
d4e6a8d727
|
Implement simple, thread-safe atomic flag type
|
2020-08-18 11:06:36 +02:00 |
|
|
202b72879a
|
Add package to control and monitor screensaver
|
2020-08-17 16:54:30 +02:00 |
|
|
5c6db0577f
|
Implement a simple C module to wait for keypresses
|
2020-08-17 15:50:39 +02:00 |
|
|
916b3c2836
|
Initial commit. Add poc hack script
|
2020-08-17 12:28:52 +02:00 |
|