@@ -25,6 +25,7 @@ void replace_all(std::string& str, const std::string& from, const std::string& t
2525
2626std::string sanitize_action (std::string action) {
2727 action = std::regex_replace (action, std::regex (R"( ^\s*exec,\s*)" ), " " );
28+ action = std::regex_replace (action, std::regex (R"( ^\s*setprop,\s*)" ), " " );
2829 action = std::regex_replace (action, std::regex (R"( \$killPanel;(\s*pkill\s+\$launcher\s*(\|\||;))?\s*)" ), " " );
2930 action = std::regex_replace (action, std::regex (R"( kill-layers;\s*)" ), " " );
3031 action = std::regex_replace (action, std::regex (R"( pkill\s+wlogout\s*\|\|\s*)" ), " " );
@@ -33,7 +34,7 @@ std::string sanitize_action(std::string action) {
3334 action = std::regex_replace (action, std::regex (R"( \bfi\b)" ), " " );
3435 action = std::regex_replace (action, std::regex (R"( ;\s*(?=#|$))" ), " " );
3536 action = std::regex_replace (action, std::regex (R"( ,\s*(?=#|$))" ), " " );
36- action = std::regex_replace (action, std::regex (R"( \s*#\s*)" ), " ▏ " );
37+ action = std::regex_replace (action, std::regex (R"( \s*#\s*)" ), " ▏ " );
3738 return trim (action);
3839}
3940
0 commit comments