mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(network): signal strength
This commit is contained in:
@ -35,7 +35,8 @@ namespace waybar::modules {
|
||||
double frequency;
|
||||
} wireless_info_t;
|
||||
private:
|
||||
void _parseEssid(struct nlattr** bss);
|
||||
void _parseEssid(struct nlattr **bss);
|
||||
void _parseSignal(struct nlattr **bss);
|
||||
bool _associatedOrJoined(struct nlattr **bss);
|
||||
static int _scanCb(struct nl_msg *msg, void *data);
|
||||
auto _getInfo() -> void;
|
||||
@ -44,6 +45,7 @@ namespace waybar::modules {
|
||||
Json::Value _config;
|
||||
std::size_t _ifid;
|
||||
std::string _essid;
|
||||
int _signalStrength;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user