add clock to bar

This commit is contained in:
2025-12-08 23:41:34 +01:00
commit de6ece13fa
8 changed files with 214 additions and 0 deletions

12
include/widgets/clock.hpp Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include <gtkmm/label.h>
#include <gtkmm.h>
#include <gtk4-layer-shell/gtk4-layer-shell.h>
#include "interface/updateable.ipp"
class Clock : public Gtk::Label, public IUpdatable {
public:
bool onUpdate();
};