diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/references | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/.local/bin/references b/bin/.local/bin/references index 4501904..f1f5e9e 100755 --- a/bin/.local/bin/references +++ b/bin/.local/bin/references @@ -1,5 +1,5 @@ #!/bin/bash -REF_DIR="$HOME/postdoc/references" +REF_DIR="$HOME/work/references" PDF=$(find $REF_DIR -regex ".*.\(pdf\|djvu\|PDF\|ps\)" -printf "%C@ %P\n" | sort | tac | cut -d' ' -f2-) TARGET=$(echo "${PDF//"$REF_DIR/"/}" | dmenu -i -p "Open File") [[ -n $TARGET ]] && exec zathura "$REF_DIR/$TARGET" |