Some small changes
This commit is contained in:
parent
3677ffc852
commit
c4db62d2a4
@ -35,7 +35,7 @@ as you like.
|
||||
## Modules
|
||||
|
||||
|
||||
### batterychecker
|
||||
### battery
|
||||
|
||||
|
||||
This class uses the /proc/acpi/battery interface to check for the
|
||||
|
@ -15,7 +15,6 @@ __all__ = [
|
||||
"ConfigError", "ConfigKeyError", "ConfigMissingError", "ConfigAmbigiousClassesError", "ConfigInvalidModuleError",
|
||||
"Module", "AsyncModule", "IntervalModule",
|
||||
"i3pystatus", "I3statusHandler",
|
||||
"get_path" # We need that for mkdocs
|
||||
]
|
||||
|
||||
class ConfigError(Exception):
|
||||
@ -42,9 +41,6 @@ class ConfigInvalidModuleError(ConfigError):
|
||||
def format(self):
|
||||
return "no class found"
|
||||
|
||||
def get_path():
|
||||
return __path__
|
||||
|
||||
class KeyConstraintDict(collections.UserDict):
|
||||
class MissingKeys(Exception):
|
||||
def __init__(self, keys):
|
||||
|
@ -8,7 +8,7 @@ import json
|
||||
|
||||
from i3pystatus.mail import Backend
|
||||
|
||||
class NotmuchMailChecker(Backend):
|
||||
class Notmuch(Backend):
|
||||
"""
|
||||
This class uses the notmuch python bindings to check for the
|
||||
number of messages in the notmuch database with the tags "inbox"
|
||||
|
Loading…
Reference in New Issue
Block a user