mirror of
https://github.com/rad4day/Waybar.git
synced 2025-10-23 06:02:33 +02:00
Fix various mpd bugs
- Add elapsedTime and totalTime to tooltip format arguments - Catch format exceptions and print error - Copy mpd connection error message before it gets freed - Update display after connection to mpd was lost
This commit is contained in:
@@ -341,6 +341,7 @@ void Disconnected::disarm_timer() noexcept {
|
||||
}
|
||||
|
||||
void Disconnected::entry() noexcept {
|
||||
ctx_->emit();
|
||||
arm_timer(1'000);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user