Commit Graph

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