summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2022-09-21 04:14:32 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2022-09-21 04:14:32 +0300
commit4178ab5f05ec62cc08062111ed5627721de26ac2 (patch)
tree5101e7eb6707780a90fd1797c1f99a86b7c1d6de
parent10d22cddad1ff5040e8e2876d46caa09c6d28ef4 (diff)
lit script
-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"