diff options
author | tsxv478 <vt0451@yandex.ru> | 2022-09-21 04:14:32 +0300 |
---|---|---|
committer | tsxv478 <vt0451@yandex.ru> | 2022-09-21 04:14:32 +0300 |
commit | 37d0b5b1ea41c81e0918e92abbec8551643093f6 (patch) | |
tree | 5101e7eb6707780a90fd1797c1f99a86b7c1d6de /lit | |
parent | 5ef344a839d93a4c5c754feba6007693658d70ef (diff) |
lit script
Diffstat (limited to 'lit')
-rwxr-xr-x | lit | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" |