Dynamically update the font when the `reload` command is called by
reloading the font with `xcb_init_late` and adjusting the size of the
bar by updating the output dimensions with a call to the ipc.
if (found_id == NULL)
return;
+ /* reconfigure the bar based on the current outputs */
+ i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_OUTPUTS, NULL);
+
free_colors(&(config.colors));
/* update the configuration with the received settings */
reconfig_windows(true);
}
+ /* update fonts and colors */
+ init_xcb_late(config.fontname);
init_colors(&(config.colors));
realloc_sl_buffer();