Add 'fzf' wrapper scripts
This commit is contained in:
7
.bin/find-book
Executable file
7
.bin/find-book
Executable 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
7
.bin/find-sketch
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Find and open Xournal sketch
|
||||||
|
|
||||||
|
selected=$(ls ~/sketches/*.xopp | fzf)
|
||||||
|
|
||||||
|
xournalpp "$selected" &
|
||||||
Reference in New Issue
Block a user