waybar/include/modules/clock.hpp
2018-12-18 17:30:54 +01:00

19 lines
315 B
C++

#pragma once
#include <fmt/format.h>
#include "fmt/time.h"
#include "util/chrono.hpp"
#include "ALabel.hpp"
namespace waybar::modules {
class Clock : public ALabel {
public:
Clock(const std::string&, const Json::Value&);
auto update() -> void;
private:
waybar::util::SleeperThread thread_;
};
}