mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 22:04:28 +00:00
remove debug print and nospace format fix
This commit is contained in:
parent
1840deab3b
commit
eedd84e98b
2 changed files with 1 additions and 2 deletions
|
@ -255,7 +255,7 @@ void bar_item_serialize(struct bar_item* bar_item, FILE* rsp) {
|
|||
"\t},\n"
|
||||
"\t\"geometry\": {\n"
|
||||
"\t\t\"position\": \"%c\",\n"
|
||||
"\t\t\"nospace\": \"%d\",\n"
|
||||
"\t\t\"nospace\": %d,\n"
|
||||
"\t\t\"background_padding_left\": %d,\n"
|
||||
"\t\t\"background_padding_right\": %d,\n"
|
||||
"\t\t\"icon_padding_left\": %d,\n"
|
||||
|
|
|
@ -368,7 +368,6 @@ static void message_parse_set_message_for_bar_item(FILE* rsp, struct bar_item* b
|
|||
struct token property = get_token(&message);
|
||||
|
||||
if (token_equals(property, COMMAND_SET_ICON)) {
|
||||
printf("Message: %s \n", message);
|
||||
needs_update = text_set_string(&bar_item->icon, token_to_string(get_token(&message)), false);
|
||||
} else if (token_equals(property, COMMAND_SET_LABEL)) {
|
||||
needs_update = text_set_string(&bar_item->label, token_to_string(get_token(&message)), false);
|
||||
|
|
Loading…
Reference in a new issue