summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2021-12-05 17:42:34 +0100
committerUrbain Vaes <urbain@vaes.uk>2021-12-05 17:42:34 +0100
commit19cdfb7a8b522136317f2de0f2f901572ebee066 (patch)
treee685df2fcf64915172b6ff1aa1b271812a599505 /bin
parenta9a52155abd26fc9b9d7043d9a062a9a7fcb99db (diff)
Adjust font size
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/references2
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"