fix urgent window icons
This commit is contained in:
@@ -52,7 +52,7 @@ void VolumeWidget::update() {
|
||||
std::regex r_number(R"((\d+(?:\.\d+)?))");
|
||||
|
||||
std::string text = out;
|
||||
int percent = -1;
|
||||
int percent = -1;
|
||||
|
||||
if (std::regex_search(text, m, r_percent)) {
|
||||
percent = static_cast<int>(std::round(std::stod(m[1].str())));
|
||||
|
||||
Reference in New Issue
Block a user