Bao Trinh
1af7191740
Backlight: avoid crash on getting brightness fails
...
Reading brightness value for backlight device can fail intermittently
(particularly when using ddcci-driver-linux). Handle this more
gracefully rather than crashing
2022-04-21 22:02:45 -05:00
Alex
f2fcadbf62
refactor: lint
2022-04-06 08:37:19 +02:00
Matan1x
aacd0fcc65
round brightness
2021-09-08 17:12:30 +03:00
Alex
e01a081f2f
fix(brightness): amd brightness
2020-04-21 09:11:56 +02:00
Alex
687c50dc13
refactor: remove old stuff
2020-04-12 18:31:07 +02:00
Alex
b40cdcb5bd
refactor: call parent update
2020-04-12 18:30:21 +02:00
Jordi Pakey-Rodriguez
0f0765e517
feat(modules): call user on-update if configured
2019-12-05 14:42:36 -08:00
Alex
d24d85bebf
refactor: move label name and id to label contructor
2019-05-22 12:06:24 +02:00
Ilia Sheshukov
9fa0eb7068
more elegant amd fix
2019-05-17 22:30:45 +03:00
Dan
5f0a3063d1
feat(states): add getState to other percent based modules
2019-05-02 22:24:29 -04:00
Dan
3bac96945c
Revert "feat(percent): adds a percent class to numeric modules"
...
This reverts commit 82302e58f3b611f7ff6d686d1783b1c32914f7c9.
2019-05-02 22:24:29 -04:00
Dan
472363a623
feat(percent): adds a percent class to numeric modules
2019-05-02 22:24:29 -04:00
Alex
311c34ecbc
feat(Bar): handle widget size changes
2019-04-24 12:37:24 +02:00
Alex
6ed8f94dab
refactor: format code
2019-04-18 17:52:00 +02:00
Ian Hattendorf
39de8e544c
Disable backlight module if no backlight found
2019-02-28 19:50:57 -07:00
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
Robinhuett
63e97df9ff
fix(backlight) Allow format-alt
2019-02-24 22:15:41 +01: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