From b8ad6ff8b003af381209c1cf1cc9a45f0bd0dc7c Mon Sep 17 00:00:00 2001 From: ncfavier Date: Fri, 9 Jun 2023 10:06:12 +0000 Subject: [PATCH] deploy: 1e5d741ea3f3290d7ac06a02ded24bfdc7aadb37 --- options.html | 77 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 27 deletions(-) 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.package

Which espanso package to use

Type: package

Default: pkgs.espanso

Declared by:

<home-manager/modules/services/espanso.nix> -
services.espanso.settings

The Espanso configuration to use. See -https://espanso.org/docs/configuration/ +

services.espanso.configs

The 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.matches

The 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.enable

Whether to enable etesync-dav.

Type: boolean

Default: false

Example: true

Declared by: