diff --git a/Cargo.lock b/Cargo.lock index ed6f8b5..f0ecae8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1792,7 +1792,7 @@ dependencies = [ [[package]] name = "lala_musicbar" -version = "0.2.6" +version = "0.2.7" dependencies = [ "alsa", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index a9bb5ea..675a72a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lala_musicbar" -version = "0.2.6" +version = "0.2.7" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 14fc66f..9940a2b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -359,7 +359,7 @@ impl MultiApplication for LalaMusicBar { iced::subscription::Subscription::batch([ iced::time::every(std::time::Duration::from_secs(1)) .map(|_| Message::RequestDBusInfoUpdate), - iced::time::every(std::time::Duration::from_secs(30)).map(|_| Message::UpdateBalance), + iced::time::every(std::time::Duration::from_secs(5)).map(|_| Message::UpdateBalance), ]) }