diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-08-25 08:51:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 05:51:19 +0000 |
commit | 791f79a02a4bbb509c257af2849e411d32f4c18b (patch) | |
tree | 509fe9e6e956dc458234348d4e2eb836a77c1774 /extra | |
parent | 8f88b4d4bed337d16e8d3d15d8e20cbe782696db (diff) | |
download | alacritty-791f79a02a4bbb509c257af2849e411d32f4c18b.tar.gz alacritty-791f79a02a4bbb509c257af2849e411d32f4c18b.zip |
Rework `--class` CLI option
This commit swaps the order of `general` and `instance` arguments
and also sets `instance` to `general` when only one argument was
provided. This should make this option behave like in other terminals
on X11, since they set either both or general by default, but
not instance like Alacritty.
Fixes #6279.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/alacritty.man | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/alacritty.man b/extra/alacritty.man index eec20d60..8848938a 100644 --- a/extra/alacritty.man +++ b/extra/alacritty.man @@ -32,10 +32,12 @@ Increases the level of verbosity (the max level is \fB\-vvv\fR) Prints version information .SH "OPTIONS" .TP -\fB\-\-class\fR <instance> | <instance>,<general> +\fB\-\-class\fR <general> | <general>,<instance> Defines the window class hint on Linux [default: Alacritty,Alacritty] -On Wayland the instance class sets the `app_id`, while the general class is ignored. +When only the general class is passed, instance will be set to the same value. + +On Wayland the general class sets the `app_id`, while the instance class is ignored. .TP \fB\-e\fR, \fB\-\-command\fR <command>... Command and args to execute (must be last argument) |