polybar-dwm/src
patrick96 aebdb5328a fix(backlight): Poll if necessary
The `backlight` file seems to not receive modification events for
inotify (it does receive other events though).
These other events still trigger an update, but the value read is still
the old value because the events arrive just slightly before the file is
updated.

The new `poll-interval` setting will inject an event every X seconds to
force an update.
If the actual_brightness file is used, the interval is set to 0 and thus
turned off.

This does not add any more wakeups to the module, the inotify modules
wake up every second anyway and during that time, the interval is
checked.

Fixes #2835
2023-10-21 20:32:11 +02:00
..
adapters script: Bump poll timeout to 250ms 2022-12-12 00:52:13 +01:00
cairo Move utf8 conversion code to string utils 2023-05-10 17:06:00 +02:00
components fix(bspwm): Restack against topmost root window. 2023-10-08 21:04:29 +02:00
drawtypes feat: longest match ws-icon fuzzy matching (#2831) 2022-10-05 23:05:44 +02:00
events refactor(signals): Avoid reinterpret_cast 2017-01-01 20:31:09 +01:00
ipc Merge remote-tracking branch 'upstream/master' into tray-child-window 2022-10-31 23:30:07 +01:00
modules fix(backlight): Poll if necessary 2023-10-21 20:32:11 +02:00
tags feat(tray): Position using a module (#2595) 2022-04-15 23:50:04 +02:00
utils fix(bspwm): Restack against topmost root window. 2023-10-08 21:04:29 +02:00
x11 tray: Deprecate all legacy tray settings 2023-08-06 15:26:28 +02:00
CMakeLists.txt Introduce restacking utilities 2023-05-15 14:44:50 +02:00
main.cpp Remove config singleton (#2951) 2023-05-01 14:58:52 +02:00
polybar-msg.cpp fix(ipc): Crash when sending to multiple instances 2022-10-23 14:19:26 +02:00
settings.cpp.cmake feat(temperature): Add zone-type setting (#2752) 2022-08-21 19:25:42 +02:00