diff --git a/terminatorlib/optionparse.py b/terminatorlib/optionparse.py index 3f213545..0e33a0a8 100755 --- a/terminatorlib/optionparse.py +++ b/terminatorlib/optionparse.py @@ -67,7 +67,8 @@ command to execute inside the terminal, and its arguments') dest='working_directory', help='Set the working directory') parser.add_option('-r', '--role', dest='role', help='Set a custom \ WM_WINDOW_ROLE property on the window') - for item in ['--sm-client-id', '--sm-config-prefix', '--screen']: + for item in ['--sm-client-id', '--sm-config-prefix', '--screen', '-n', + '--no-gconf', '-p', '--profile' ]: parser.add_option(item, dest='dummy', action='store', help=SUPPRESS_HELP) @@ -93,6 +94,15 @@ WM_WINDOW_ROLE property on the window') if options.maximise: configobj['maximise'] = True + if options.fullscreen: + configobj['fullscreen'] = True + + if options.borderless: + configobj['borderless'] = True + + if options.hidden: + configobj['hidden'] = True + # FIXME: Map all the other bits of options to configobj if util.DEBUG == True: