summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-09-06 09:14:50 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-09-06 09:16:30 +0100
commitbad09905a6212cf4b2ecb91badfdf33c869fb73d (patch)
tree5607b2e0831aa656eca82a092b59e0d57504ad65
parent6fd2f629c3dd0bb60dc75f76ad8bfb6f3de2d650 (diff)
[scripts/downloads] Include other formats than PDF
-rwxr-xr-xbin/bin/downloads2
1 files changed, 1 insertions, 1 deletions
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" &