mirror of
https://github.com/polybar/polybar.git
synced 2026-04-26 09:23:28 +00:00
feat(script): Configurable condition using exec-if
Add new config parameter `exec-if = cmd` that needs to exit successfully before the main exec command will be invoked. Closes #298
This commit is contained in:
@ -11,6 +11,7 @@ namespace modules {
|
||||
|
||||
protected:
|
||||
void process();
|
||||
chrono::duration<double> sleep_duration();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user