#pragma once #include #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, const config&); bool update(); bool build(builder* builder, const string& tag) const; static constexpr auto TYPE = "internal/date"; static constexpr auto EVENT_TOGGLE = "toggle"; protected: void action_toggle(); private: static constexpr auto TAG_LABEL = "