diff options
author | Christian Duerr <contact@christianduerr.com> | 2023-11-08 07:03:24 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2023-11-11 20:33:06 +0100 |
commit | 2f097dac5c78a01bdb020c982a09867b3213a69b (patch) | |
tree | f751637a5d4eff5a151273b3bbc7c083d2ed8fc5 /extra/man | |
parent | 683b5a2cb47579560ed272dc1a4818507dbd30c7 (diff) | |
download | alacritty-2f097dac5c78a01bdb020c982a09867b3213a69b.tar.gz alacritty-2f097dac5c78a01bdb020c982a09867b3213a69b.zip |
Add `--option` argument to `create-window`
This patch adds a new CLI parameter to the `create-window` subcommand,
matching the existing `--option` parameter when creating a new Alacritty
instance.
This parameter allows setting up the initial window configuration from
the CLI without having to call `alacritty msg config`, making sure that
all options are set appropriately right from the start.
Closes #6238.
Diffstat (limited to 'extra/man')
-rw-r--r-- | extra/man/alacritty-msg.1.scd | 20 | ||||
-rw-r--r-- | extra/man/alacritty.1.scd | 2 |
2 files changed, 18 insertions, 4 deletions
diff --git a/extra/man/alacritty-msg.1.scd b/extra/man/alacritty-msg.1.scd index f7f271aa..100b763e 100644 --- a/extra/man/alacritty-msg.1.scd +++ b/extra/man/alacritty-msg.1.scd @@ -19,14 +19,24 @@ making it possible to control Alacritty without directly accessing it. *create-window* Create a new window in the same Alacritty process - *OPTIONS* + *FLAGS* *--hold* Remain open after child process exits + *OPTIONS* *--working-directory* <working-directory> Start the shell in the specified working directory - *command* <command>... + *-T, --title* <TITLE> + Defines the window title [default: Alacritty] + + *--class* <GENERAL> | <GENERAL>,<INSTANCE> + Defines window class/app_id on X11/Wayland [default: Alacritty] + + *-o, --option* <OPTION>... + Override configuration file options [example: 'cursor.style="Beam"'] + + *-e, --command* <COMMAND>... Command and args to execute (must be last argument) *config* @@ -34,7 +44,11 @@ making it possible to control Alacritty without directly accessing it. *ARGS* *<CONFIG_OPTIONS>...* - Configuration file options [example: cursor.style=Beam] + Configuration file options [example: 'cursor.style="Beam"'] + + *FLAGS* + *-r, --reset* + Clear all runtime configuration changes *OPTIONS* *-w, --window-id* <WINDOW_ID> diff --git a/extra/man/alacritty.1.scd b/extra/man/alacritty.1.scd index 333d2310..6436db75 100644 --- a/extra/man/alacritty.1.scd +++ b/extra/man/alacritty.1.scd @@ -61,7 +61,7 @@ set of features with high performance. X11 window ID to embed Alacritty within (decimal or hexadecimal with _0x_ prefix) *-o, --option* <option>... - Override configuration file options [example: cursor.style=Beam] + Override configuration file options [example: 'cursor.style="Beam"'] *--socket* <socket> Path for IPC socket creation |