diff --git a/src/guake b/src/guake index 5fc5a53d..5dbdb038 100644 --- a/src/guake +++ b/src/guake @@ -1340,6 +1340,14 @@ def main(): action='store_true', default=False, help=_('Toggles the visibility of the terminal window')) + parser.add_option('--show', dest="show", + action='store_true', default=False, + help=_('Shows Guake main window')) + + parser.add_option('--hide', dest='hide', + action='store_true', default=False, + help=_('Hides Guake main window')) + parser.add_option('-p', '--preferences', dest='show_preferences', action='store_true', default=False, help=_('Shows Guake preference window')) @@ -1391,6 +1399,14 @@ def main(): if options.fullscreen: instance.fullscreen() + if options.show: + remote_object.show() + called_with_param = True + + if options.hide: + remote_object.hide() + called_with_param = True + if options.show_preferences: remote_object.show_prefs() only_show_hide = False