diff options
author | tsxv478 <atvx717@infraredcombat.xyz> | 2022-09-21 04:14:32 +0300 |
---|---|---|
committer | tsxv478 <atvx717@infraredcombat.xyz> | 2022-09-21 04:14:32 +0300 |
commit | 4178ab5f05ec62cc08062111ed5627721de26ac2 (patch) | |
tree | 5101e7eb6707780a90fd1797c1f99a86b7c1d6de | |
parent | 10d22cddad1ff5040e8e2876d46caa09c6d28ef4 (diff) |
lit script
-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" |