modules/aerc: change path to aba address book

This commit is contained in:
Dmitriy Pleshevskiy 2024-04-20 15:01:14 +03:00
parent 7c8cedeed1
commit 2404b30b46
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -16,8 +16,9 @@ let
}; };
abaPackage = pkgs.unstable.aba; abaPackage = pkgs.unstable.aba;
abaExe = "${abaPackage}/bin/aba -a ${config.xdg.dataHome}/aerc/aba.toml";
pipeAba = param: exec "pipe -m ${abaPackage}/bin/aba parse ${param}"; pipeAba = param: exec "pipe -m ${abaExe} parse ${param}";
exec = cmd: ":${cmd}<Enter>"; exec = cmd: ":${cmd}<Enter>";
fill = cmd: ":${cmd}<space>"; fill = cmd: ":${cmd}<space>";
@ -71,7 +72,7 @@ in
}; };
compose = { compose = {
address-book-cmd = "${abaPackage}/bin/aba ls '%s'"; address-book-cmd = "${abaExe} list '%s'";
}; };
statusline = { statusline = {