feat(bar): added icon_scale to the config allowing a custom value between 1.0 and 2.0

This commit is contained in:
Csaba
2024-12-22 15:00:11 -08:00
committed by جاد
parent d93b6fa1b3
commit cced2a4433
3 changed files with 20 additions and 5 deletions
+5 -2
View File
@@ -245,8 +245,11 @@ impl Komobar {
Self::set_font_size(ctx, *font_size);
}
self.render_config
.replace(config.new_renderconfig(ctx, *self.bg_color.borrow()));
self.render_config.replace(config.new_renderconfig(
ctx,
*self.bg_color.borrow(),
config.icon_scale,
));
let mut komorebi_notification_state = previous_notification_state;
let mut komorebi_widgets = Vec::new();