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-18 11:13:12 +01:00
committed by جاد
parent d93b6fa1b3
commit cced2a4433
3 changed files with 20 additions and 5 deletions
+2
View File
@@ -25,6 +25,8 @@ pub struct KomobarConfig {
pub font_family: Option<String>,
/// Font size (default: 12.5)
pub font_size: Option<f32>,
/// Scale of the icons relative to the font_size [[1.0-2.0]]. (default: 1.4)
pub icon_scale: Option<f32>,
/// Max label width before text truncation (default: 400.0)
pub max_label_width: Option<f32>,
/// Theme