The Espanso configuration to use. See https://espanso.org/docs/configuration/ for a description of available options.

Declarations
Type
YAML value
Default
{
  matches = [ ];
}
Example
{
  matches = [
    { # Simple text replacement
      trigger = ":espanso";
      replace = "Hi there!";
    }
    { # Dates
      trigger = ":date";
      replace = "{{mydate}}";
      vars = [{
        name = "mydate";
        type = "date";
        params = { format = "%m/%d/%Y"; };
      }];
    }
    { # Shell commands
      trigger = ":shell";
      replace = "{{output}}";
      vars = [{
        name = "output";
        type = "shell";
        params = { cmd = "echo Hello from your shell"; };
      }];
    }
  ];
}