Waybar/include/modules/clock.hpp

20 lines
296 B
C++
Raw Normal View History

2018-08-08 21:54:58 +00:00
#pragma once
#include <gtkmm.h>
#include <fmt/format.h>
#include <thread>
#include "util/chrono.hpp"
namespace waybar::modules {
class Clock {
public:
Clock();
operator Gtk::Widget &();
private:
Gtk::Label _label;
waybar::util::SleeperThread _thread;
};
}