mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
aebdb5328a
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 |
||
---|---|---|
.. | ||
meta | ||
alsa.hpp | ||
backlight.hpp | ||
battery.hpp | ||
bspwm.hpp | ||
counter.hpp | ||
cpu.hpp | ||
date.hpp | ||
fs.hpp | ||
github.hpp | ||
i3.hpp | ||
ipc.hpp | ||
memory.hpp | ||
menu.hpp | ||
mpd.hpp | ||
network.hpp | ||
pulseaudio.hpp | ||
script.hpp | ||
temperature.hpp | ||
text.hpp | ||
tray.hpp | ||
xbacklight.hpp | ||
xkeyboard.hpp | ||
xwindow.hpp | ||
xworkspaces.hpp |