From 61dbb0b895fa718ba939ca375fbe5b2484858157 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 6 Jan 2024 19:16:56 +0000 Subject: [PATCH] Add Espanso snippets --- system/nixos/home-manager/modules/espanso.nix | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/system/nixos/home-manager/modules/espanso.nix b/system/nixos/home-manager/modules/espanso.nix index 907f408..4bb6e6b 100644 --- a/system/nixos/home-manager/modules/espanso.nix +++ b/system/nixos/home-manager/modules/espanso.nix @@ -14,6 +14,10 @@ in matches = { base = { matches = [ + { + trigger = ":archive"; + replace = "${baseUrl}/archive"; + } { trigger = ":atdc"; replace = "${baseUrl}/atdc"; @@ -26,10 +30,34 @@ in trigger = ":coaching"; replace = "${baseUrl}/team-coaching"; } + { + trigger = ":daily"; + replace = "${baseUrl}/daily"; + } { trigger = ":dotfiles"; replace = "https://github.com/opdavies/dotfiles"; } + { + trigger = ":dc"; + replace = "Drupal Commerce"; + } + { + trigger = ":dr"; + replace = "Drupal"; + } + { + trigger = ":gt"; + replace = "Great, thanks!"; + } + { + trigger = ":lh"; + replace = "http://localhost"; + } + { + trigger = ":talks"; + replace = "${baseUrl}/talks"; + } { trigger = ":website"; replace = "${baseUrl}";