#pragma once #include "components/config.hpp" #include "config.hpp" #include "modules/meta.hpp" POLYBAR_NS namespace modules { struct brightness_handle { void filepath(string path); float read() const; private: string m_path; }; class backlight_module : public inotify_module { public: using inotify_module::inotify_module; void setup(); void idle(); bool on_event(inotify_event* event); bool build(builder* builder, string tag) const; private: static constexpr auto TAG_LABEL = "