diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-01-03 21:55:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 18:55:22 +0000 |
commit | ce59fa4165500d8e242ae7a73e3da065e11e461e (patch) | |
tree | dfaaec5872d59d4c2b2e4907e3213134bea7125d /extra/completions/_alacritty | |
parent | e2b5219eb40eaf36d8255cd87c5202bbb8ba0825 (diff) | |
download | alacritty-ce59fa4165500d8e242ae7a73e3da065e11e461e.tar.gz alacritty-ce59fa4165500d8e242ae7a73e3da065e11e461e.zip |
Add title/class CLI parameters to create-window
This adds the ability to pass title and class over IPC via the
create-window subcommand, so users can run only one instance for windows
of different spurposes in the window managers of their choice.
Diffstat (limited to 'extra/completions/_alacritty')
-rw-r--r-- | extra/completions/_alacritty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/completions/_alacritty b/extra/completions/_alacritty index 59ed92b2..ad93e6bc 100644 --- a/extra/completions/_alacritty +++ b/extra/completions/_alacritty @@ -15,9 +15,6 @@ _alacritty() { local context curcontext="$curcontext" state line _arguments "${_arguments_options[@]}" \ -'-t+[Defines the window title \[default: Alacritty\]]' \ -'--title=[Defines the window title \[default: Alacritty\]]' \ -'--class=[Defines window class/app_id on X11/Wayland \[default: Alacritty\]]' \ '--embed=[Defines the X11 window ID (as a decimal integer) to embed Alacritty within]' \ '--config-file=[Specify alternative configuration file \[default: $XDG_CONFIG_HOME/alacritty/alacritty.yml\]]' \ '--socket=[Path for IPC socket creation]' \ @@ -26,6 +23,9 @@ _alacritty() { '--working-directory=[Start the shell in the specified working directory]' \ '*-e+[Command and args to execute (must be last argument)]' \ '*--command=[Command and args to execute (must be last argument)]' \ +'-t+[Defines the window title \[default: Alacritty\]]' \ +'--title=[Defines the window title \[default: Alacritty\]]' \ +'--class=[Defines window class/app_id on X11/Wayland \[default: Alacritty\]]' \ '--print-events[Print all events to stdout]' \ '--ref-test[Generates ref test]' \ '(-v)*-q[Reduces the level of verbosity (the min level is -qq)]' \ @@ -66,6 +66,9 @@ _arguments "${_arguments_options[@]}" \ '--working-directory=[Start the shell in the specified working directory]' \ '*-e+[Command and args to execute (must be last argument)]' \ '*--command=[Command and args to execute (must be last argument)]' \ +'-t+[Defines the window title \[default: Alacritty\]]' \ +'--title=[Defines the window title \[default: Alacritty\]]' \ +'--class=[Defines window class/app_id on X11/Wayland \[default: Alacritty\]]' \ '--hold[Remain open after child process exit]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ |