mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
bluetooth module working
This commit is contained in:
@ -223,7 +223,7 @@ void waybar::modules::Network::worker() {
|
||||
|
||||
const std::string waybar::modules::Network::getNetworkState() const {
|
||||
if (ifid_ == -1) {
|
||||
if (waybar::util::isDisabled(RFKILL_TYPE_WLAN))
|
||||
if (waybar::util::rfkill::isDisabled(RFKILL_TYPE_WLAN))
|
||||
return "disabled";
|
||||
return "disconnected";
|
||||
}
|
||||
|
Reference in New Issue
Block a user