summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
diff options
context:
space:
mode:
authorLéana 江 <leana.jiang+git@icloud.com>2026-06-22 16:42:02 +0200
committerLéana 江 <leana.jiang+git@icloud.com>2026-06-22 16:42:02 +0200
commit1d11e75205e25dab4869205a0a05178340d24aff (patch)
treebaa431aae38402b4106e7b89eba3282c4d19e2f9 /src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs
parent139bfaf7f00d1fa51a2053c5c82e7f420b75778e (diff)
downloadxmobar-1d11e75205e25dab4869205a0a05178340d24aff.tar.gz
xmobar-1d11e75205e25dab4869205a0a05178340d24aff.tar.bz2
guard low battery alert behind heuristics
Previously low battery alerts only depend on the ac variable. The ac state that is rendered (racst) follows more heuristics. However this causes a discrepancy where xmobar can show the status is charging while continue to spawn low battery alerts. This PR fixes that by using the rendered ac state to decide whether the alert is sent.
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/MultiCoreTemp.hs')
0 files changed, 0 insertions, 0 deletions