refactor(script): Split non-/tail logic

Split the script module into one tailing output module and
one exec once module.

Refs #281
This commit is contained in:
Michael Carlberg
2017-01-01 08:58:33 +01:00
parent 611ed0e348
commit ccddf052ec
13 changed files with 258 additions and 204 deletions

View File

@ -0,0 +1,17 @@
#pragma once
#include "modules/script.hpp"
POLYBAR_NS
namespace modules {
class cmdscript_module : virtual public script_module {
public:
explicit cmdscript_module(const bar_settings&, string);
protected:
void process();
};
}
POLYBAR_NS_END