default_gui_startup_args

On this page
  1. default_gui_startup_args = {"start"}

default_gui_startup_args = {"start"}#

When launching the GUI using either wakterm or wakterm-gui (with no subcommand explicitly specified), wakterm will use the value of default_gui_startup_args to pick a default mode for running the GUI.

The default for this config is {"start"} which makes wakterm with no additional subcommand arguments equivalent to wakterm start.

If you know that you always want to use wakterm's ssh client to login to a particular host, then you might consider using this configuration:

config.default_gui_startup_args = { 'ssh', 'some-host' }

which will cause wakterm with no additional subcommand arguments to be equivalent to running wakterm ssh some-host.

Specifying subcommand arguments on the command line is NOT additive with this config; the command line arguments always take precedence.

Depending on your desktop environment, you may find it simpler to use your operating system shortcut or alias function to set up a shortcut that runs the subcommand you desire.

Edit this page