#pragma once #include #include #include #include "modules/meta/timer_module.hpp" POLYBAR_NS namespace modules { class date_module : public timer_module { public: explicit date_module(const bar_settings&, string); bool update(); bool build(builder* builder, const string& tag) const; static constexpr auto TYPE = "internal/date"; static constexpr auto EVENT_TOGGLE = "toggle"; protected: bool input(string&& action); private: static constexpr auto TAG_LABEL = "