소스 검색

Added in the i3-open-pdf script

Samuel W. Flint 8 년 전
부모
커밋
3271769000
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      i3-open-pdf

+ 10 - 0
i3-open-pdf

@@ -0,0 +1,10 @@
+#!/usr/bin/sh
+
+cd
+
+FILE="Documents/$(find ~/Documents -name '*.pdf' | sed -e 's/\/home\/swflint\/Documents\///' | rofi -dmenu -p "PDF:")"
+
+if [[ $FILE != "" ]] ; then
+    open-pdf $FILE
+fi
+