From d53ce5574b0bfd6f78394f9469a043c04866ecdc Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 31 Jul 2022 12:39:36 +0200 Subject: Created dmenu wrapper and made all (hopefully) scripts compatible with vanilla dmenu. --- docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs.sh') 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)" -- cgit v1.2.1