Browse Source

Updated i3-open-pdf

Samuel W. Flint 7 years ago
parent
commit
b0df2228ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      i3-open-pdf

+ 1 - 1
i3-open-pdf

@@ -2,7 +2,7 @@
 
 cd
 
-FILE="Documents/$(find ~/Documents -name '*.pdf' | sed -e 's/\/home\/swflint\/Documents\///' | rofi -dmenu -p "PDF:")"
+FILE="$(find -name '*.pdf' | sed -e 's/\.\///' | rofi -dmenu -p "PDF:")"
 
 if [[ $FILE != "" ]] ; then
     open-pdf $FILE