1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2026-01-11 05:26:43 +01:00

Merge branch 'develop' into feat/volume-icon

This commit is contained in:
Reinout Meliesie 2024-05-27 13:02:34 +02:00
commit 41bdecf210
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
52 changed files with 1127 additions and 280 deletions

View file

@ -19,12 +19,17 @@ use tokio::sync::mpsc;
#[derive(Debug, Clone, Deserialize)]
pub struct VolumeModule {
/// Maximum value to allow volume sliders to reach.
/// Pulse supports values > 100 but this may result in distortion.
///
/// **Default**: `100`
#[serde(default = "default_max_volume")]
max_volume: f64,
#[serde(default = "default_icon_size")]
icon_size: i32,
/// See [common options](module-level-options#common-options).
#[serde(flatten)]
pub common: Option<CommonConfig>,
}