waybar/include/modules/bluetooth.hpp

23 lines
416 B
C++
Raw Normal View History

#pragma once
#include <fmt/format.h>
#include "ALabel.hpp"
2020-01-22 11:37:47 +01:00
#include <fmt/chrono.h>
#include "util/sleeper_thread.hpp"
namespace waybar::modules {
class Bluetooth : public ALabel {
public:
Bluetooth(const std::string&, const Json::Value&);
~Bluetooth() = default;
auto update() -> void;
private:
2020-01-22 11:37:47 +01:00
std::string status_;
util::SleeperThread thread_;
};
} // namespace waybar::modules