2020-01-21 16:04:54 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-02-03 03:17:06 +00:00
|
|
|
#include "ALabel.hpp"
|
2020-01-23 16:17:29 +00:00
|
|
|
#include "util/rfkill.hpp"
|
2020-01-22 10:37:47 +00:00
|
|
|
|
2020-01-21 16:04:54 +00:00
|
|
|
namespace waybar::modules {
|
|
|
|
|
|
|
|
class Bluetooth : public ALabel {
|
|
|
|
public:
|
|
|
|
Bluetooth(const std::string&, const Json::Value&);
|
|
|
|
~Bluetooth() = default;
|
|
|
|
auto update() -> void;
|
|
|
|
|
|
|
|
private:
|
2021-02-03 04:10:27 +00:00
|
|
|
util::Rfkill rfkill_;
|
2020-01-21 16:04:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace waybar::modules
|