summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/mutt_attach2
-rwxr-xr-xbin/.local/bin/references2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/.local/bin/mutt_attach b/bin/.local/bin/mutt_attach
index 4a14dbc..44a759f 100755
--- a/bin/.local/bin/mutt_attach
+++ b/bin/.local/bin/mutt_attach
@@ -3,7 +3,7 @@
# File in which to store the list of filenames to attach
tmp=$(mktemp)
-vifm "$HOME" --choose-files "$tmp"
+vifm "$HOME" -c "set nohlsearch" --choose-files "$tmp"
# ranger "$HOME" --choosefiles="$tmp"
while IFS="" read -r file; do
diff --git a/bin/.local/bin/references b/bin/.local/bin/references
index 46ff41e..4501904 100755
--- a/bin/.local/bin/references
+++ b/bin/.local/bin/references
@@ -1,5 +1,5 @@
#!/bin/bash
-REF_DIR="$HOME/phd/references"
+REF_DIR="$HOME/postdoc/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"