Explorar o código

Added in the i3-open-pdf script

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