Merge pull request #2276 from skligys/fix_mpris_ui_spamming

Stop MPRIS module from updating every ~20ms
This commit is contained in:
Alexis Rouillard
2023-07-04 22:29:48 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@ -80,6 +80,7 @@ class Mpris : public ALabel {
std::string lastPlayer;
util::SleeperThread thread_;
std::chrono::time_point<std::chrono::system_clock> last_update_;
};
} // namespace waybar::modules::mpris