From 666942d610ac006d7481354f2487e34014459e5b Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Tue, 26 Mar 2024 04:05:25 +0100 Subject: [PATCH] Add missing joshuto dependencies --- modules/desktop/joshuto.nix | 40 +++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/modules/desktop/joshuto.nix b/modules/desktop/joshuto.nix index 270785a..e21b379 100644 --- a/modules/desktop/joshuto.nix +++ b/modules/desktop/joshuto.nix @@ -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,24 +20,26 @@ in { xdg_open_fork = true; display = { show_icons = true; }; preview.preview_script = with pkgs; - "${writeShellApplication { - name = "joshuto-preview"; - runtimeInputs = [ - file - catdoc - pandoc - mu - djvulibre - exiftool - mediainfo - atool - gnutar - poppler_utils - libtransmission - w3m - ]; - text = builtins.readFile ./files/joshuto_preview_file.sh; - }}/bin/joshuto-preview"; + "${ + writeShellApplication { + name = "joshuto-preview"; + runtimeInputs = [ + file + catdoc + pandoc + mu + djvulibre + exiftool + mediainfo + atool + gnutar + poppler_utils + libtransmission + w3m + ]; + text = builtins.readFile ./files/joshuto_preview_file.sh; + } + }/bin/joshuto-preview"; preview.preview_shown_hook_script = with pkgs; writeScript "on_preview_shown" '' #!/usr/bin/env bash