services.espanso.matches
The Espanso matches to use. See https://espanso.org/docs/matches/basics/ for a description of available options.
- Type
YAML 1.1 value- Default
{ default = { matches = [ ]; }; }- Example
{ base = { matches = [ { trigger = ":now"; replace = "It's {{currentdate}} {{currenttime}}"; } { trigger = ":hello"; replace = "line1\nline2"; } { regex = ":hi(?P<person>.*)\\."; replace = "Hi {{person}}!"; } ]; }; global_vars = { global_vars = [ { name = "currentdate"; type = "date"; params = {format = "%d/%m/%Y";}; } { name = "currenttime"; type = "date"; params = {format = "%R";}; } ]; }; };- Declared
- <home-manager/modules/services/espanso.nix>