mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
feat: init repo
This commit is contained in:
19
include/modules/clock.hpp
Normal file
19
include/modules/clock.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user