summaryrefslogtreecommitdiff
path: root/lit
diff options
context:
space:
mode:
authortsxv478 <vt0451@yandex.ru>2022-11-13 04:17:20 +0300
committertsxv478 <vt0451@yandex.ru>2022-11-13 04:17:20 +0300
commitb4bb66c47323ee531473d3176a807bd1a2aa7ac5 (patch)
tree1129eedfa9ed13974257c95ea6e66aa85a472da7 /lit
parentb6942b1015683b251dc9cb65908d9dcc5d4d3ebf (diff)
minor fixes
Diffstat (limited to 'lit')
-rwxr-xr-xlit6
1 files changed, 3 insertions, 3 deletions
diff --git a/lit b/lit
index e6085ac..f79ef41 100755
--- a/lit
+++ b/lit
@@ -1,6 +1,6 @@
#!/bin/sh
-path="$HOME/doc/lit"
-book=$(find $path -type f | cut -d '/' -f '6-' | dmenu -i -c -l 15 -p "Open book:")
+dir="$HOME/doc/lit"
+book=$(find $dir -type f | cut -d '/' -f '6-' | dmenu -i -c -l 15 -p "Open book:")
-[ -f "$path/$book" ] && zathura "$path/$book"
+[ -f "$dir/$book" ] && zathura "$dir/$book"