yazi: enable fish integration + preview epub files

This commit is contained in:
Khaïs COLIN 2025-07-27 20:15:25 +02:00
parent 955178e109
commit 80d0b55fbd
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU

View file

@ -37,6 +37,8 @@ in {
ouch ouch
inetutils inetutils
fd fd
# used for yazi epub previews
epub-thumbnailer
# remote working # remote working
remmina remmina
# communication # communication
@ -323,6 +325,25 @@ in {
programs.yazi = { programs.yazi = {
enable = true; enable = true;
enableFishIntegration = true;
plugins = {
epub-preview =
pkgs.fetchFromGitHub
{
owner = "kirasok";
repo = "epub-preview.yazi";
rev = "2e8079e4a7f6315de99a5b968ed5fda479f1f39c";
hash = "sha256-wHTR8frrFL3cUD8fvSTO+m/77wQ7auVjTZ1uCTB/UzU=";
};
};
settings = {
plugin.prepend_previewers = [
{
mime = "application/epub+zip";
run = "epub-preview";
}
];
};
}; };
xsession.windowManager.xmonad = { xsession.windowManager.xmonad = {