summaryrefslogtreecommitdiff
path: root/bin/bin/downloads
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bin/downloads')
-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" &