Add missing joshuto dependencies

This commit is contained in:
Paul-Henri Froidmont 2024-03-26 04:05:25 +01:00
parent 213460bd1e
commit 666942d610
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -12,7 +12,7 @@ in {
package = with pkgs;
writeShellApplication {
name = "joshuto";
runtimeInputs = [ ueberzugpp joshuto ];
runtimeInputs = [ ueberzugpp joshuto trash-cli xclip fzf ];
text = builtins.readFile ./files/joshuto_wrapper.sh;
};
settings = {
@ -20,7 +20,8 @@ in {
xdg_open_fork = true;
display = { show_icons = true; };
preview.preview_script = with pkgs;
"${writeShellApplication {
"${
writeShellApplication {
name = "joshuto-preview";
runtimeInputs = [
file
@ -37,7 +38,8 @@ in {
w3m
];
text = builtins.readFile ./files/joshuto_preview_file.sh;
}}/bin/joshuto-preview";
}
}/bin/joshuto-preview";
preview.preview_shown_hook_script = with pkgs;
writeScript "on_preview_shown" ''
#!/usr/bin/env bash