diff options
| author | Léana 江 <leana.jiang+git@icloud.com> | 2026-06-22 16:42:02 +0200 |
|---|---|---|
| committer | Léana 江 <leana.jiang+git@icloud.com> | 2026-06-22 16:42:02 +0200 |
| commit | 1d11e75205e25dab4869205a0a05178340d24aff (patch) | |
| tree | baa431aae38402b4106e7b89eba3282c4d19e2f9 /src/Xmobar/Plugins/Monitors/Swap | |
| parent | 139bfaf7f00d1fa51a2053c5c82e7f420b75778e (diff) | |
| download | xmobar-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/Swap')
0 files changed, 0 insertions, 0 deletions
