summaryrefslogtreecommitdiff
path: root/lit
blob: 80cb5647ad9e102670283ddc54a8f2d5692ff900 (plain)
1
2
3
4
5
6
#!/bin/sh

path="$HOME/doc/lit"
book=$(find $path -type f | cut -d '/' -f '6-' | dmenu -i -c -bw 3 -l 15 -p "Open book:")

[ -f "$path/$book" ] && zathura "$path/$book"