#pragma once #include "modules/meta/base.hpp" POLYBAR_NS namespace modules { template class static_module : public module { public: using module::module; void start() override { this->module::start(); CAST_MOD(Impl)->update(); CAST_MOD(Impl)->broadcast(); } bool build(builder*, string) const { return true; } }; } // namespace modules POLYBAR_NS_END