add function to cava module to hide on silence

This commit is contained in:
Joerg Weislogel
2023-10-07 12:50:24 +02:00
parent 58e506a675
commit 1eb0777799
2 changed files with 6 additions and 1 deletions

View File

@ -36,6 +36,7 @@ class Cava final : public ALabel {
std::chrono::seconds fetch_input_delay_{4};
std::chrono::seconds suspend_silence_delay_{0};
bool silence_{false};
bool hide_on_silence_{false};
int sleep_counter_{0};
// Cava method
void pause_resume();