parent
abfc6b7f91
commit
41d41ca8df
5 changed files with 82 additions and 58 deletions
include/modules
|
@ -26,6 +26,8 @@ namespace modules {
|
|||
bool check_condition();
|
||||
|
||||
private:
|
||||
void handle_runner_update(const script_runner::data&);
|
||||
|
||||
static constexpr auto TAG_LABEL = "<label>";
|
||||
static constexpr auto TAG_LABEL_FAIL = "<label-fail>";
|
||||
static constexpr auto FORMAT_FAIL = "format-fail";
|
||||
|
@ -39,7 +41,11 @@ namespace modules {
|
|||
|
||||
label_t m_label;
|
||||
label_t m_label_fail;
|
||||
|
||||
int m_exit_status{0};
|
||||
script_runner::data m_data;
|
||||
std::mutex m_data_mutex;
|
||||
};
|
||||
} // namespace modules
|
||||
} // namespace modules
|
||||
|
||||
POLYBAR_NS_END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue