diff --git a/i3pystatus/mail/thunderbird.py b/i3pystatus/mail/thunderbird.py index 14c5c82..fd0a381 100644 --- a/i3pystatus/mail/thunderbird.py +++ b/i3pystatus/mail/thunderbird.py @@ -21,6 +21,10 @@ class Thunderbird(Backend): """ This class listens for dbus signals emitted by the dbus-sender extension for thunderbird. + + Requires + * python-dbus + * python-gobject2 """ unread = set() diff --git a/i3pystatus/modsde.py b/i3pystatus/modsde.py index 2ebc9eb..b9d8f2b 100644 --- a/i3pystatus/modsde.py +++ b/i3pystatus/modsde.py @@ -19,7 +19,8 @@ class ModsDeChecker(IntervalModule): settings = ( ("format", """Use {unread} as the formatter for number of unread posts"""), - "color", "offset", "username", "password" + ("offset", """subtract number of posts before output"""), + "color", "username", "password" ) required = ("username", "password") diff --git a/i3pystatus/regex.py b/i3pystatus/regex.py index 0f930c0..b65d254 100644 --- a/i3pystatus/regex.py +++ b/i3pystatus/regex.py @@ -5,17 +5,16 @@ from i3pystatus import IntervalModule class Regex(IntervalModule): """ Simple regex file watcher - - Settings: - * flags — Python.re flags - * regex — regular expression - * file — file to search for regex matches - * format — new-style format string used for output, default is "{0}" """ flags = 0 format = "{0}" - settings = ("format", "regex", "file") + settings = ( + ("format", "format string used for output"), + "regex", + ("file", "file to search for regex matches"), + ("flags", "Python.re flags"), + ) required = ("regex", "file") def init(self):