From 23e2bfd987c430bb41bc7860c46c2f572e9e2db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 14 Jan 2023 14:47:33 +0100 Subject: Sat Jan 14 02:47:33 PM CET 2023 --- .bin/books | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .bin/books (limited to '.bin/books') diff --git a/.bin/books b/.bin/books new file mode 100755 index 0000000..1eccb57 --- /dev/null +++ b/.bin/books @@ -0,0 +1,10 @@ +#!/bin/sh + +set -xe + +command -v fzf zathura + +while true; do + file=$(find books docs -iname "*.pdf" -o -iname "*.epub" | fzf) + zathura "${file}" +done -- cgit v1.2.3