#pragma once #include #include "modules/meta/timer_module.hpp" #include "modules/meta/types.hpp" #include "settings.hpp" POLYBAR_NS namespace modules { enum class temp_state { NORMAL = 0, WARN }; class temperature_module : public timer_module { public: explicit temperature_module(const bar_settings&, string, const config&); bool update(); string get_format() const; bool build(builder* builder, const string& tag) const; static constexpr auto TYPE = TEMPERATURE_TYPE; private: static constexpr auto TAG_LABEL = "