From 081ebf02a04408dacd5677bce4e59d71c074e47a Mon Sep 17 00:00:00 2001 From: HonusBot Date: Sat, 15 May 2021 23:46:49 +0200 Subject: [PATCH] Fix feh --- honusbot-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/honusbot-cli.sh b/honusbot-cli.sh index a059fb6..7ef5be9 100755 --- a/honusbot-cli.sh +++ b/honusbot-cli.sh @@ -21,7 +21,7 @@ if [ -x "$(command -v viu)" ]; then download_url_to_stdin=true elif [ -x "$(command -v feh)" ]; then echo "Found feh" - display_command_pipe="feh" + display_command_pipe="xargs --max-args=1 --no-run-if-empty feh" display_command_after="true" download_url_to_stdin=false fi