alacritty-msg1
Send messages to alacritty.
Usage
This command communicates with running Alacritty instances through a socket, making it possible to control Alacritty without directly accessing it.
Options
-
-s, --socket <SOCKET> -
Path for IPC socket communication.
Messages
create-window
Create a new window in the same Alacritty process.
FLAGS
--hold
Remain open after child process exits.
OPTIONS
--working-directory <WORKING_DIRECTORY>
Start the shell in the specified working directory.
-T, --title <TITLE>
Defines the window title.
Default: Alacritty
--class <GENERAL> | <GENERAL>,<INSTANCE>
Defines window class/app_id on X11/Wayland.
Default: Alacritty,Alacritty
-o, --option <OPTION>...
Override configuration file options.
Example: alacritty msg create-window -o 'cursor.style="Beam"'
-e, --command <COMMAND>...
Command and args to execute (must be last argument).
config
Update the Alacritty configuration.
ARGS
<CONFIG_OPTIONS>...
Configuration file options.
Example: alacritty msg config 'cursor.style="Beam"'
FLAGS
-r, --reset
Clear all runtime configuration changes.
OPTIONS
-w, --window-id <WINDOW_ID>
Window ID for the new config.
Use -1 to apply this change to all windows.
Default: $ALACRITTY_WINDOW_ID
get-config
Read runtime Alacritty configuration.
OPTIONS
-w, --window-id <WINDOW_ID>
Window ID for the config request.
Use -1 to get the global config.
Default: $ALACRITTY_WINDOW_ID
Maintainers
•
|
Christian Duerr <[email protected]> |
|---|---|
•
|
Kirill Chibisov <[email protected]> |
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.
--socket since Debian 13 (Trixie);
-s since Debian 13 (Trixie).
--command until Debian 12 (Bookworm);
--hold until Debian 12 (Bookworm);
--window-id until Debian 12 (Bookworm);
--working-directory until Debian 12 (Bookworm);
-e until Debian 12 (Bookworm);
-w until Debian 12 (Bookworm).