summaryrefslogtreecommitdiff
path: root/lit
diff options
context:
space:
mode:
authortsxv478 <vt0451@yandex.ru>2022-09-21 04:14:32 +0300
committertsxv478 <vt0451@yandex.ru>2022-09-21 04:14:32 +0300
commit37d0b5b1ea41c81e0918e92abbec8551643093f6 (patch)
tree5101e7eb6707780a90fd1797c1f99a86b7c1d6de /lit
parent5ef344a839d93a4c5c754feba6007693658d70ef (diff)
lit script
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"