1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/include/modules/text.hpp

21 lines
385 B
C++
Raw Normal View History

#pragma once
2016-05-19 10:41:06 -04:00
2016-11-20 17:04:31 -05:00
#include "modules/meta/static_module.hpp"
2016-05-19 10:41:06 -04:00
2016-11-19 00:22:44 -05:00
POLYBAR_NS
2016-06-14 23:32:35 -04:00
namespace modules {
class text_module : public static_module<text_module> {
public:
explicit text_module(const bar_settings&, string);
2016-06-14 23:32:35 -04:00
2016-12-23 09:54:06 -05:00
void update() {}
2016-11-02 15:22:45 -04:00
string get_format() const;
string get_output();
static constexpr auto TYPE = "custom/text";
2016-05-19 10:41:06 -04:00
};
} // namespace modules
2016-06-14 23:32:35 -04:00
2016-11-19 00:22:44 -05:00
POLYBAR_NS_END