From 4d0bd914e7c1ee65f4036e60149a7b891906a5d3 Mon Sep 17 00:00:00 2001 From: George Abbott Date: Tue, 31 Oct 2023 17:54:07 +0000 Subject: Commit all to date. --- util/rdpdf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 util/rdpdf (limited to 'util/rdpdf') diff --git a/util/rdpdf b/util/rdpdf new file mode 100755 index 0000000..65c8d9b --- /dev/null +++ b/util/rdpdf @@ -0,0 +1,7 @@ +#!/bin/sh +# Locate PDFs and read them. +# Requires: locate, fzf, zathura. + +f="$(locate .pdf | fzf)" +[ -z "$f" ] && exit +zathura "$f" -- cgit v1.2.1