services.espanso.enable
Whether to enable Espanso: cross platform text expander in Rust.
Type: boolean
Default:
false
Example:
true
Declared by:
services.espanso.package
The espanso package to use.
Type: package
Default:
pkgs.espanso
Declared by:
services.espanso.package-wayland
The espanso-wayland package to use. Which espanso package to use when running under wayland.
Type: null or package
Default:
pkgs.espanso-wayland
Declared by:
services.espanso.configs
The Espanso configuration to use. See https://espanso.org/docs/configuration/basics/ for a description of available options.
Type: YAML 1.1 value
Default:
{
default = { };
}
Example:
{
default = {
show_notifications = false;
};
vscode = {
filter_title = "Visual Studio Code$";
backend = "Clipboard";
};
};
Declared by:
services.espanso.matches
The Espanso matches to use. See https://espanso.org/docs/matches/basics/ for a description of available options.
Type: YAML 1.1 value
Default:
{
default = {
matches = [ ];
};
}
Example:
{
base = {
matches = [
{
trigger = ":now";
replace = "It's {{currentdate}} {{currenttime}}";
}
{
trigger = ":hello";
replace = "line1\nline2";
}
{
regex = ":hi(?P<person>.*)\\.";
replace = "Hi {{person}}!";
}
];
};
global_vars = {
global_vars = [
{
name = "currentdate";
type = "date";
params = {format = "%d/%m/%Y";};
}
{
name = "currenttime";
type = "date";
params = {format = "%R";};
}
];
};
};
Declared by:
services.espanso.waylandSupport
Whether to enable wayland support on linux
Type: boolean
Default:
"`true` on linux"
Declared by:
services.espanso.x11Support
Whether to enable x11 support on linux
Type: boolean
Default:
"`true` on linux"
Declared by: