[modules/mpd] Add scrollable modifier

This commit is contained in:
Tobias Witek 2017-10-21 08:21:37 +02:00
parent a40dde5812
commit 34d9278c6e

View file

@ -55,6 +55,7 @@ class Module(bumblebee.engine.Module):
self._repeat = False
self._tags = defaultdict(lambda: '')
@scrollable
def description(self, widget):
return string.Formatter().vformat(self._fmt, (), self._tags)