polybar-dwm/src/adapters
patrick96 edf37385cb script: Bump poll timeout to 250ms
The module has a poll timeout because it needs to periodically check if
it is shutting down. Otherwise, it would be stuck polling and the bar
couldn't shut down until the script produces a new line.

However, this causes the bar to wake up intermittently (currently
~40/s) due to the 25ms timeout.
Bumping this to 250ms still gives us timely shut downs and caps the
number of wake ups to 4/s.

This is only a stop-gap solution, ideally the script runner is
integrated into the main event loop and uses its polling handles which
don't have to wake up to check for a shutdown.

Ref #1778
Ref #2337
2022-12-12 00:52:13 +01:00
..
alsa fix typos (#2524) 2021-10-04 23:46:38 +02:00
mpd.cpp Replace system_clock with steady_clock (#2559) 2022-01-12 23:06:29 +01:00
net_iw.cpp fix typos (#2524) 2021-10-04 23:46:38 +02:00
net_nl.cpp build: Add missing includes 2022-03-02 15:09:52 +01:00
net.cpp Cleanup use of pointers in util code 2022-03-06 18:28:26 +01:00
pulseaudio.cpp fix(pulse): Hanging during connection setup (#2709) 2022-05-04 08:58:53 +02:00
script_runner.cpp script: Bump poll timeout to 250ms 2022-12-12 00:52:13 +01:00