refactor(modules): Move setup to constructor
This commit is contained in:
parent
81e6fb062f
commit
c01f111e34
52 changed files with 100 additions and 149 deletions
include/modules
|
@ -7,9 +7,8 @@ POLYBAR_NS
|
|||
namespace modules {
|
||||
class text_module : public static_module<text_module> {
|
||||
public:
|
||||
using static_module::static_module;
|
||||
explicit text_module(const bar_settings&, string);
|
||||
|
||||
void setup();
|
||||
string get_format() const;
|
||||
string get_output();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue