[core/config] Add stub for autohide
Add stub for autohide so that my status bar doesn't terminate with an error (easier testing)
This commit is contained in:
parent
38410adcb8
commit
ef75e593f7
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ class Config(util.store.Store):
|
|||
parser.add_argument('-t', '--theme', default='default', help=THEME_HELP)
|
||||
parser.add_argument('-i', '--iconset', default='auto',
|
||||
help='Specify the name of an iconset to use (overrides theme default)')
|
||||
parser.add_argument("-a", "--autohide", nargs="+", default=[],
|
||||
help="Specify a list of modules to hide when not in warning/error state")
|
||||
self._args = parser.parse_args(args)
|
||||
|
||||
parameters = [ item for sub in self._args.parameters for item in sub ]
|
||||
|
|
Loading…
Reference in a new issue