yazi: enable fish integration + preview epub files
This commit is contained in:
parent
955178e109
commit
80d0b55fbd
1 changed files with 21 additions and 0 deletions
21
home.nix
21
home.nix
|
|
@ -37,6 +37,8 @@ in {
|
|||
ouch
|
||||
inetutils
|
||||
fd
|
||||
# used for yazi epub previews
|
||||
epub-thumbnailer
|
||||
# remote working
|
||||
remmina
|
||||
# communication
|
||||
|
|
@ -323,6 +325,25 @@ in {
|
|||
|
||||
programs.yazi = {
|
||||
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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue