summaryrefslogtreecommitdiff
path: root/bin/.local
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-10-19 18:01:35 +0100
committerUrbain Vaes <urbain@vaes.uk>2019-10-19 18:01:35 +0100
commitfb5043ffe50a8b53d6f07657224b147019b02e92 (patch)
tree8c5ee124f49b26635ba9f6aefafd13bdf88ecc72 /bin/.local
parent8f97de03651a7070cae444e9ae13c9f660119bd3 (diff)
Minor changes
Diffstat (limited to 'bin/.local')
-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"