setting_util.py: tell the world what you are around for

This commit is contained in:
enkore 2015-06-17 14:04:32 +02:00
parent 5ce510c549
commit 1b1ab5ef88

View File

@ -64,6 +64,11 @@ choices = [k for k in credential_modules.keys()]
for idx, module in enumerate(choices, start=1):
print("%s - %s" % (idx, module))
print("""setting_util.py - part of i3pystatus
This allows you to edit keyring-protected settings of
i3pystatus modules, which are stored globally (independent
of your i3pystatus configuration) in your keyring.
""")
index = get_int_in_range("Choose module:\n> ", range(1, len(choices) + 1))
module_name = choices[index - 1]
module = credential_modules[module_name]