From ef75e593f7ac169979298169d24c710dc8b63714 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 22 Feb 2020 13:44:44 +0100 Subject: [PATCH] [core/config] Add stub for autohide Add stub for autohide so that my status bar doesn't terminate with an error (easier testing) --- core/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/config.py b/core/config.py index cbef3df..c90aad8 100644 --- a/core/config.py +++ b/core/config.py @@ -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 ]