dotfiles/lib/nixos/home-manager/modules/espanso.nix

76 lines
1.7 KiB
Nix
Raw Normal View History

2024-03-18 20:33:28 +00:00
let baseUrl = "https://www.oliverdavies.uk";
2024-02-13 21:33:32 +00:00
in {
2023-12-14 23:59:56 +00:00
services.espanso = {
enable = true;
2024-03-18 20:33:28 +00:00
configs = { default = { show_notifications = false; }; };
2023-12-14 23:59:56 +00:00
matches = {
base = {
matches = [
2024-01-06 19:16:56 +00:00
{
trigger = ":archive";
replace = "${baseUrl}/archive";
}
2023-12-14 23:59:56 +00:00
{
trigger = ":atdc";
replace = "${baseUrl}/atdc";
}
{
trigger = ":call";
replace = "${baseUrl}/call";
}
{
trigger = ":coaching";
replace = "${baseUrl}/team-coaching";
}
2024-01-06 19:16:56 +00:00
{
trigger = ":daily";
replace = "${baseUrl}/daily";
}
2023-12-15 11:12:08 +00:00
{
trigger = ":dotfiles";
2024-01-25 07:17:38 +00:00
replace = "https://github.com/opdavies/dotfiles.nix";
2023-12-15 11:12:08 +00:00
}
2024-01-06 19:16:56 +00:00
{
trigger = ":dc";
replace = "Drupal Commerce";
}
{
trigger = ":dr";
replace = "Drupal";
}
{
trigger = ":gt";
replace = "Great, thanks!";
}
{
trigger = ":lh";
replace = "http://localhost";
}
2024-01-10 13:00:00 +00:00
{
trigger = ":podcast";
replace = "${baseUrl}/podcast";
}
{
trigger = ":pricing";
replace = "${baseUrl}/pricing";
}
2024-01-06 19:16:56 +00:00
{
trigger = ":talks";
replace = "${baseUrl}/talks";
}
2023-12-15 11:24:50 +00:00
{
trigger = ":website";
replace = "${baseUrl}";
}
{
trigger = ":zoom";
replace = "https://savvycal.com/opdavies/zoom";
}
2023-12-14 23:59:56 +00:00
];
};
};
};
}