Explorar el Código

Updated i3-open-pdf

Samuel W. Flint hace 7 años
padre
commit
b0df2228ba
Se han modificado 1 ficheros con 1 adiciones y 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