aboutsummaryrefslogtreecommitdiff
path: root/docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs.sh')
-rwxr-xr-xdocs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs.sh b/docs.sh
index 0d02be2..8780b5d 100755
--- a/docs.sh
+++ b/docs.sh
@@ -13,7 +13,7 @@
referencesFile="$HOME/.config/zathura/refs"
lines="$(wc -l "$referencesFile")"
if reference="$(cut -d# -f1 <"$referencesFile" |
- dmenu -i -l "$lines" -p "Reference: ")"; then
+ dmenu -c -bw 3 -i -l "$lines" -p "Reference: ")"; then
line="$(grep "$reference" "$referencesFile" | sed q)"
file="$(echo "$line" | cut -d# -f2)"
page="$(echo "$line" | cut -d# -f3)"