Przeglądaj źródła

Added in the i3-open-pdf script

Samuel W. Flint 8 lat temu
rodzic
commit
3271769000
1 zmienionych plików z 10 dodań i 0 usunięć
  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
+