2023-12-14 23:59:56 +00:00
|
|
|
let
|
|
|
|
baseUrl = "https://www.oliverdavies.dev";
|
|
|
|
in
|
2023-12-15 11:12:08 +00:00
|
|
|
{
|
2023-12-14 23:59:56 +00:00
|
|
|
services.espanso = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
configs = {
|
|
|
|
default = {
|
|
|
|
show_notifications = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
replace = "https://github.com/opdavies/dotfiles";
|
|
|
|
}
|
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";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
trigger = ":talks";
|
|
|
|
replace = "${baseUrl}/talks";
|
|
|
|
}
|
2023-12-15 11:24:50 +00:00
|
|
|
{
|
|
|
|
trigger = ":website";
|
|
|
|
replace = "${baseUrl}";
|
|
|
|
}
|
2023-12-14 23:59:56 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|