diff options
| author | Christian Duerr <contact@christianduerr.com> | 2025-05-29 18:55:34 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 18:55:34 +0000 |
| commit | a63c770befd3aa8be916ef9cfadd7e541f5377f0 (patch) | |
| tree | ddf720e1834f101175f6ac3a8d11120dcca861a7 /src | |
| parent | 9eb68039dcb3edf9c87d253532a3ddd6c3cb8c4e (diff) | |
| download | r-alacritty-a63c770befd3aa8be916ef9cfadd7e541f5377f0.tar.gz r-alacritty-a63c770befd3aa8be916ef9cfadd7e541f5377f0.tar.bz2 r-alacritty-a63c770befd3aa8be916ef9cfadd7e541f5377f0.zip | |
Add IPC config retrieval subcommand
This patch adds a new `alacritty msg get-config` subcommand which can
retrieve the current config from any Alacritty window using the IPC
socket.
The command will always print the full configuration file in JSON,
without the ability to filter which values are returned, leaning on
tools like `jq` instead of adding this complexity to Alacritty.
Contrary to deserialization, this relies heavily on the default
serialization implementations to reduce the necessary changes. Key and
Mouse bindings are omitted entirely since their structure is very
complex and they tend to just bloat the message size without having an
obvious usecase.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions