2024-11-20 22:42:14 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
2024-09-11 12:00:00 +00:00
|
|
|
let
|
2024-11-20 22:42:14 +00:00
|
|
|
inherit (lib) removePrefix;
|
|
|
|
|
2024-09-11 12:00:00 +00:00
|
|
|
websiteUrl = "https://www.oliverdavies.uk";
|
|
|
|
dailyUrl = "https://dailydrupaler.com";
|
2024-11-20 22:42:14 +00:00
|
|
|
githubUrl = "https://github.com/opdavies";
|
2024-09-11 12:00:00 +00:00
|
|
|
podcastUrl = "https://beyondblockspodcast.com";
|
|
|
|
in
|
2024-07-20 23:28:35 +00:00
|
|
|
{
|
|
|
|
matches = [
|
2024-11-20 22:42:14 +00:00
|
|
|
{
|
|
|
|
trigger = ":email";
|
|
|
|
replace = "oliver@${removePrefix "https://www." websiteUrl}";
|
|
|
|
}
|
2024-07-20 23:28:35 +00:00
|
|
|
{
|
|
|
|
trigger = ":archive";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}/archive";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":atdc";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}/atdc";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":call";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}/call";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":coaching";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}/team-coaching";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":daily";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${dailyUrl}";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
2024-11-20 22:42:14 +00:00
|
|
|
trigger = ":dot";
|
|
|
|
replace = "${githubUrl}/dotfiles";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
2024-11-20 22:42:14 +00:00
|
|
|
trigger = ":gh";
|
|
|
|
replace = "${githubUrl}";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":gt";
|
|
|
|
replace = "Great, thanks!";
|
|
|
|
}
|
2024-08-21 00:12:22 +00:00
|
|
|
{
|
|
|
|
trigger = ":guest";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "If you'd like to be a guest on ${podcastUrl} and talk about ..., I'd love to have you on the show.";
|
2024-08-21 00:12:22 +00:00
|
|
|
}
|
2024-07-20 23:28:35 +00:00
|
|
|
{
|
|
|
|
trigger = ":lh";
|
|
|
|
replace = "http://localhost";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":podcast";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${podcastUrl}";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":pricing";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}/pricing";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
2024-09-11 21:53:41 +00:00
|
|
|
{
|
|
|
|
trigger = ":record";
|
|
|
|
replace = "https://savvycal.com/opdavies/beyond-blocks";
|
|
|
|
}
|
2024-07-20 23:28:35 +00:00
|
|
|
{
|
|
|
|
trigger = ":talks";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}/presentations";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":website";
|
2024-09-11 12:00:00 +00:00
|
|
|
replace = "${websiteUrl}";
|
2024-07-20 23:28:35 +00:00
|
|
|
}
|
2024-08-28 11:58:17 +00:00
|
|
|
{
|
|
|
|
trigger = ":zet";
|
|
|
|
replace = "https://zet.oliverdavies.uk";
|
|
|
|
}
|
2024-07-20 23:28:35 +00:00
|
|
|
{
|
|
|
|
trigger = ":zoom";
|
|
|
|
replace = "https://savvycal.com/opdavies/zoom";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|