Merge pull request #2596 from rehanzo/master
commit
9ecdbcc7bc
|
@ -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*: ++
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue