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:
parent
b395285a68
commit
3292cea786
14 changed files with 79 additions and 46 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue