Skip to content

Commit ca394df

Browse files
authored
Update show-keybinds.cpp
1 parent d33e007 commit ca394df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/show-keybinds.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ void replace_all(std::string& str, const std::string& from, const std::string& t
2525

2626
std::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

Comments
 (0)