From 37d0b5b1ea41c81e0918e92abbec8551643093f6 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Wed, 21 Sep 2022 04:14:32 +0300 Subject: lit script --- lit | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 lit (limited to 'lit') 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" -- cgit v1.2.3