mirror of
https://github.com/polybar/polybar.git
synced 2026-03-01 13:50:06 +00:00
fix: Wrap format pre/suffix within cmd
This commit is contained in:
@ -503,8 +503,10 @@ void builder::cmd(mousebtn index, string action, bool condition) {
|
||||
/**
|
||||
* Close command tag
|
||||
*/
|
||||
void builder::cmd_close() {
|
||||
tag_close(syntaxtag::A);
|
||||
void builder::cmd_close(bool condition) {
|
||||
if (condition) {
|
||||
tag_close(syntaxtag::A);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user