highlight urgent workspace

This commit is contained in:
2025-12-11 00:41:47 +01:00
parent 0a94acb8f4
commit e1eeb370da
9 changed files with 139 additions and 19 deletions

16
src/widgets/date.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include "widgets/date.hpp"
#include <chrono>
#include <iomanip>
bool Date::onUpdate() {
auto now =
std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
std::stringstream ss;
ss << std::put_time(std::localtime(&now), "%a, %d.%m.%Y");
set_text(ss.str());
return true;
}