aboutsummaryrefslogtreecommitdiff
path: root/src/config/volume.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/volume.rs')
-rw-r--r--src/config/volume.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config/volume.rs b/src/config/volume.rs
index c660912..13c384f 100644
--- a/src/config/volume.rs
+++ b/src/config/volume.rs
@@ -3,7 +3,9 @@ use std::default::Default;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Volume {
- pub icon: String,
+ pub icon_high: String,
+ pub icon_low: String,
+ pub icon_muted: String,
pub enabled: bool,
pub delay: f64,
pub card: String,
@@ -12,7 +14,9 @@ pub struct Volume {
impl Default for Volume {
fn default() -> Self {
Volume {
- icon: String::from(""),
+ icon_high: String::from("🕪"),
+ icon_low: String::from("🕩"),
+ icon_muted: String::from("🔇"),
enabled: false,
delay: 0.17,
card: String::from("ALSA"),