summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Run/Command.hs
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2020-02-22 22:06:48 +0000
committerTomas Janousek <tomi@nomi.cz>2020-02-22 23:09:49 +0000
commite662431a5cef5eacd68b987610f2d434fa687844 (patch)
tree31c9fd4f7c57490438b565de3ace2d13b171020e /src/Xmobar/Run/Command.hs
parent32fc8214c567c7f4a4caad10fab98c760a1685b7 (diff)
downloadxmobar-e662431a5cef5eacd68b987610f2d434fa687844.tar.gz
xmobar-e662431a5cef5eacd68b987610f2d434fa687844.tar.bz2
Timer coalescing: gracefully uncoalesce slow timers
The first implementation assumed all timers (monitors) are fast and frequent (which happens to be the case in my configuration). This meant that a single on-line weather monitor could block the entire xmobar instance for a long time due to the refresh pausing (meant to reduce power consumption). This commit attempts to fix that by limiting the refresh pause time and using the old periodic sleep method for these slow timers (monitors).
Diffstat (limited to 'src/Xmobar/Run/Command.hs')
0 files changed, 0 insertions, 0 deletions