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,7 +20,8 @@ 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 {
|
"${
|
||||||
|
writeShellApplication {
|
||||||
name = "joshuto-preview";
|
name = "joshuto-preview";
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
file
|
file
|
||||||
|
|
@ -37,7 +38,8 @@ in {
|
||||||
w3m
|
w3m
|
||||||
];
|
];
|
||||||
text = builtins.readFile ./files/joshuto_preview_file.sh;
|
text = builtins.readFile ./files/joshuto_preview_file.sh;
|
||||||
}}/bin/joshuto-preview";
|
}
|
||||||
|
}/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