Skip to content

Commit 64974b0

Browse files
committed
feat(home): add initial espanso config
1 parent 9f1a22a commit 64974b0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
config,
4+
...
5+
}:
6+
lib.mkIf config.custom.profile.isWorkstation {
7+
programs.espanso = {
8+
enable = false;
9+
configs.default = { };
10+
matches.base = {
11+
matches = [
12+
{
13+
trigger = ":al";
14+
replace = "aarch64-linux";
15+
}
16+
{
17+
trigger = ":xl";
18+
replace = "x86_64-linux";
19+
}
20+
{
21+
trigger = ":ad";
22+
replace = "aarch64-darwin";
23+
}
24+
{
25+
trigger = ":xd";
26+
replace = "x86_64-darwin";
27+
}
28+
];
29+
};
30+
};
31+
}

0 commit comments

Comments
 (0)