diff --git a/options.html b/options.html
index b47216e74..9d4603fe9 100644
--- a/options.html
+++ b/options.html
@@ -7518,36 +7518,59 @@ editor using the EDITOR environment variable.
< <home-manager/modules/services/espanso.nix>
services.espanso.packageWhich espanso package to use
Type: package
Default: pkgs.espanso
Declared by:
<home-manager/modules/services/espanso.nix>
- |
services.espanso.settingsThe Espanso configuration to use. See -https://espanso.org/docs/configuration/ +
services.espanso.configsThe Espanso configuration to use. See +https://espanso.org/docs/configuration/basics/ for a description of available options.
Type: YAML value
Default:
{
- matches = [ ];
+ default = { };
}Example:
{
- matches = [
- { # Simple text replacement
- trigger = ":espanso";
- replace = "Hi there!";
- }
- { # Dates
- trigger = ":date";
- replace = "{{mydate}}";
- vars = [{
- name = "mydate";
+ default = {
+ show_notifications = false;
+ };
+ vscode = {
+ filter_title = "Visual Studio Code$";
+ backend = "Clipboard";
+ };
+};
+Declared by:
+ <home-manager/modules/services/espanso.nix>
+ |
services.espanso.matchesThe Espanso matches to use. See +https://espanso.org/docs/matches/basics/ +for a description of available options.
Type: YAML 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 = "%m/%d/%Y"; };
- }];
- }
- { # Shell commands
- trigger = ":shell";
- replace = "{{output}}";
- vars = [{
- name = "output";
- type = "shell";
- params = { cmd = "echo Hello from your shell"; };
- }];
- }
- ];
-}
+ params = {format = "%d/%m/%Y";};
+ }
+ {
+ name = "currenttime";
+ type = "date";
+ params = {format = "%R";};
+ }
+ ];
+ };
+};
Declared by:
<home-manager/modules/services/espanso.nix>
|
services.etesync-dav.enableWhether to enable etesync-dav.
Type: boolean
Default: false
Example: true
Declared by:
|