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;
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue