Add missing joshuto dependencies
This commit is contained in:
parent
213460bd1e
commit
666942d610
1 changed files with 21 additions and 19 deletions
|
|
@ -12,7 +12,7 @@ in {
|
||||||
package = with pkgs;
|
package = with pkgs;
|
||||||
writeShellApplication {
|
writeShellApplication {
|
||||||
name = "joshuto";
|
name = "joshuto";
|
||||||
runtimeInputs = [ ueberzugpp joshuto ];
|
runtimeInputs = [ ueberzugpp joshuto trash-cli xclip fzf ];
|
||||||
text = builtins.readFile ./files/joshuto_wrapper.sh;
|
text = builtins.readFile ./files/joshuto_wrapper.sh;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -20,24 +20,26 @@ in {
|
||||||
xdg_open_fork = true;
|
xdg_open_fork = true;
|
||||||
display = { show_icons = true; };
|
display = { show_icons = true; };
|
||||||
preview.preview_script = with pkgs;
|
preview.preview_script = with pkgs;
|
||||||
"${writeShellApplication {
|
"${
|
||||||
name = "joshuto-preview";
|
writeShellApplication {
|
||||||
runtimeInputs = [
|
name = "joshuto-preview";
|
||||||
file
|
runtimeInputs = [
|
||||||
catdoc
|
file
|
||||||
pandoc
|
catdoc
|
||||||
mu
|
pandoc
|
||||||
djvulibre
|
mu
|
||||||
exiftool
|
djvulibre
|
||||||
mediainfo
|
exiftool
|
||||||
atool
|
mediainfo
|
||||||
gnutar
|
atool
|
||||||
poppler_utils
|
gnutar
|
||||||
libtransmission
|
poppler_utils
|
||||||
w3m
|
libtransmission
|
||||||
];
|
w3m
|
||||||
text = builtins.readFile ./files/joshuto_preview_file.sh;
|
];
|
||||||
}}/bin/joshuto-preview";
|
text = builtins.readFile ./files/joshuto_preview_file.sh;
|
||||||
|
}
|
||||||
|
}/bin/joshuto-preview";
|
||||||
preview.preview_shown_hook_script = with pkgs;
|
preview.preview_shown_hook_script = with pkgs;
|
||||||
writeScript "on_preview_shown" ''
|
writeScript "on_preview_shown" ''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue