Removed indentation in docstring.
This commit is contained in:
parent
18062dd416
commit
e70a199d69
@ -9,15 +9,13 @@ class Yaourt(Backend):
|
|||||||
By default it will only count aur packages. Thus it can be used with the pacman backend like this:
|
By default it will only count aur packages. Thus it can be used with the pacman backend like this:
|
||||||
|
|
||||||
from i3pystatus.updates import pacman, yaourt
|
from i3pystatus.updates import pacman, yaourt
|
||||||
status.register("updates",
|
status.register("updates", backends = [pacman.Pacman(), yaourt.Yaourt()])
|
||||||
backends = [pacman.Pacman(), yaourt.Yaourt()])
|
|
||||||
|
|
||||||
If you want to count both pacman and aur packages with this module you can set the variable
|
If you want to count both pacman and aur packages with this module you can set the variable
|
||||||
count_only_aur = False like this:
|
count_only_aur = False like this:
|
||||||
|
|
||||||
from i3pystatus.updates import yaourt
|
from i3pystatus.updates import yaourt
|
||||||
status.register("updates",
|
status.register("updates", backends = [yaourt.Yaourt(False)])
|
||||||
backends = [yaourt.Yaourt(False)])
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, aur_only=True):
|
def __init__(self, aur_only=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user