aboutsummaryrefslogtreecommitdiff
path: root/docs.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-07-31 12:39:36 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-07-31 12:39:36 +0200
commitd53ce5574b0bfd6f78394f9469a043c04866ecdc (patch)
treeb31d0bb729fb2d93a2e8ad0d0db14ad589c4c7a4 /docs.sh
parent80aa1954df73bbe0b238cd2fd254cb179dbe3b0e (diff)
downloadscripts-d53ce5574b0bfd6f78394f9469a043c04866ecdc.tar.gz
scripts-d53ce5574b0bfd6f78394f9469a043c04866ecdc.zip
Created dmenu wrapper and made all (hopefully) scripts compatible with vanilla dmenu.
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 90a655d..fefb2b8 100755
--- a/docs.sh
+++ b/docs.sh
@@ -15,7 +15,7 @@
referencesFile="$HOME/.config/zathura/refs"
lines="$(wc -l "$referencesFile")"
if reference="$(sed '/^#/d' "$referencesFile" | sed '/^\s*$/d' | cut -d# -f1 |
- dmenu -c -bw 3 -i -l "$lines" -p "Reference: ")"; then
+ dmenu -l "$lines" -p "Reference: ")"; then
line="$(grep "$reference" "$referencesFile" | sed q)"
file="$(echo "$line" | cut -d# -f2)"
page="$(echo "$line" | cut -d# -f3)"