Commit Graph
3 Commits
Author SHA1 Message Date
Ian Hattendorf c1295c8fd6 Fix crash when monitor unplugged
`Backlight#devices_` was being destructed before
`Backlight#udev_thread_`. Also check if thread is still running after
`epoll_wait`
2019-02-25 20:05:44 -07:00
Ian Hattendorf e67347f6ad Gate backlight module behind libudev availability 2019-02-18 21:11:18 -07:00
Ian Hattendorf 875306804c Add backlight module
Monitor the backlight level via udev. Poll every `interval` as well,
in case backlight udev events aren't supported.
2019-02-17 15:29:49 -07:00