Add 'fzf' wrapper scripts

master
Hektor Misplon 2022-05-11 13:55:36 +02:00
parent 1c6f0776e1
commit c2c7995ab5
2 changed files with 14 additions and 0 deletions

7
.bin/find-book Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Find and open pdf
selected=$(ls ~/doc/books/*.{pdf,epub,djvu} | fzf)
zathura "$selected" &

7
.bin/find-sketch Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Find and open Xournal sketch
selected=$(ls ~/sketches/*.xopp | fzf)
xournalpp "$selected" &