1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-05-26 18:12:06 -04:00

refactor(tokens): Move token suffix to configuration

This commit is contained in:
Michael Carlberg 2017-01-13 20:03:08 +01:00
parent b395285a68
commit 3292cea786
14 changed files with 79 additions and 46 deletions

View file

@ -62,7 +62,8 @@ namespace drawtypes {
label_t clone();
void clear();
void reset_tokens();
bool has_token(const string& token);
void reset_tokens(const string& tokenized);
bool has_token(const string& token) const;
void replace_token(const string& token, string replacement);
void replace_defined_values(const label_t& label);
void copy_undefined(const label_t& label);