浏览代码

Updated i3-open-pdf

Samuel W. Flint 7 年之前
父节点
当前提交
b0df2228ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  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