Merge pull request #2596 from rehanzo/master

This commit is contained in:
Alexis Rouillard 2023-10-22 09:46:35 +02:00 committed by GitHub
commit 9ecdbcc7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ The *mpris* module displays currently playing media via libplayerctl.
*interval*: ++
typeof: integer ++
default: 0 ++
Refresh MPRIS information on a timer.
*format*: ++

View File

@ -18,7 +18,7 @@ namespace waybar::modules::mpris {
const std::string DEFAULT_FORMAT = "{player} ({status}): {dynamic}";
Mpris::Mpris(const std::string& id, const Json::Value& config)
: ALabel(config, "mpris", id, DEFAULT_FORMAT, 5, false, true),
: ALabel(config, "mpris", id, DEFAULT_FORMAT, 0, false, true),
tooltip_(DEFAULT_FORMAT),
artist_len_(-1),
album_len_(-1),