polybar/include
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 alsa: include asoundlib.h instead of all alsa headers 2023-09-28 19:30:49 +02:00
cairo Cleanup 2023-05-10 17:06:00 +02:00
components Refactor config::dereference* (#2963) 2023-05-18 09:47:45 +02:00
drawtypes feat: longest match ws-icon fuzzy matching (#2831) 2022-10-05 23:05:44 +02:00
events tray: Update module using callback 2022-09-03 21:33:22 +02:00
ipc fix(ipc): Crash when sending to multiple instances 2022-10-23 14:19:26 +02: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 restack: Add ewmh restacking strategy 2023-05-15 14:44:50 +02:00
CMakeLists.txt refactor(cmake): Allow targets to be enabled individually 2020-12-24 02:20:38 +01:00
common.hpp Use sockets for IPC (#2539) 2022-01-22 20:35:37 +01:00
debug.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
errors.hpp Make the event loop return shared_ptrs (#2842) 2022-10-15 23:21:40 +02:00
settings.hpp.cmake feat(temperature): Add `zone-type` setting (#2752) 2022-08-21 19:25:42 +02:00