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:
commit
41bdecf210
52 changed files with 1127 additions and 280 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue