mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00

The module doesn't update the `essid_` as soon as a WiFi interface is connected, but that happens at some point later, depending on "interval" configuration. Fix that by rerunning the get WiFi information thread when the `carrier` state changes. Also, we will clear the state related to WiFi when the connection is drop to avoid stale information.