Explorar o código

Updated i3-open-pdf

Samuel W. Flint %!s(int64=7) %!d(string=hai) anos
pai
achega
b0df2228ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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