summaryrefslogtreecommitdiff
path: root/dmenu_books
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu_books')
-rwxr-xr-xdmenu_books7
1 files changed, 7 insertions, 0 deletions
diff --git a/dmenu_books b/dmenu_books
new file mode 100755
index 0000000..367ee37
--- /dev/null
+++ b/dmenu_books
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+BOOK=`ls ~/Documents/shared | dmenu`
+
+[ -z "$BOOK" ] && exit 1
+
+zathura "~/Documents/shared/$BOOK"