From bad09905a6212cf4b2ecb91badfdf33c869fb73d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 6 Sep 2017 09:14:50 +0100 Subject: [scripts/downloads] Include other formats than PDF --- bin/bin/downloads | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bin/downloads b/bin/bin/downloads index c4c306e..b3583b9 100755 --- a/bin/bin/downloads +++ b/bin/bin/downloads @@ -1,5 +1,5 @@ #!/bin/bash DOWNLOAD_DIR="$HOME/Downloads" -PDF=$(ls -t $DOWNLOAD_DIR/*.pdf) +PDF=$(ls -t $DOWNLOAD_DIR/*.pdf $DOWNLOAD_DIR/*.PDF $DOWNLOAD_DIR/*.djvu $DOWNLOAD_DIR/*.ps) TARGET=$(echo "${PDF//"$DOWNLOAD_DIR/"/}" | dmenu -i -p "Open File:") [[ -n $TARGET ]] && zathura "$DOWNLOAD_DIR/$TARGET" & -- cgit v1.2.3