summaryrefslogtreecommitdiff
path: root/lit
diff options
context:
space:
mode:
Diffstat (limited to 'lit')
-rwxr-xr-xlit6
1 files changed, 6 insertions, 0 deletions
diff --git a/lit b/lit
new file mode 100755
index 0000000..a30c3d5
--- /dev/null
+++ b/lit
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+path="$HOME/doc/lit"
+book=$(find $path -type f | cut -d '/' -f '6-' | dmenu -i -c -bw 3 -l 10 -p "Open book:")
+
+[ -f "$path/$book" ] && zathura "$path/$book"