diff --git a/src/drawtypes/label.cpp b/src/drawtypes/label.cpp index f4348d5e..51dde741 100644 --- a/src/drawtypes/label.cpp +++ b/src/drawtypes/label.cpp @@ -171,7 +171,7 @@ namespace drawtypes { // ignore false positives // lemonbar tags %{...} // trailing percentage signs %token%% - if (token_str[1] == '{' || token_str[1] == ' ') { + if (token_str.find_first_of("abdefghijklmnopqrstuvwxyz") != 1) { line.erase(0, end); continue; }