diff --git a/prev/elinks.sh b/prev/elinks.sh index f659607..d52fd7f 100644 --- a/prev/elinks.sh +++ b/prev/elinks.sh @@ -1 +1,3 @@ -elinks -dump "$f" +elinks \ + -dump 1 -dump-width "$w" \ + -no-references -no-numbering < "$f" diff --git a/prev/lynx.sh b/prev/lynx.sh index 1d870cb..78fbf60 100644 --- a/prev/lynx.sh +++ b/prev/lynx.sh @@ -1 +1 @@ -lynx -dump -- "$f" +lynx -dump -nonumbers -nolist -width="$w" -- "$f" diff --git a/previews.h b/previews.h index 7f5de61..39624d6 100644 --- a/previews.h +++ b/previews.h @@ -33,9 +33,9 @@ Preview b_previews[] = { PR(NULL, "application", "json", jq), PR(NULL, "inode", "directory", ls), - PR(NULL, "text", "html", w3m), - PR(NULL, "text", "html", lynx), PR(NULL, "text", "html", elinks), + PR(NULL, "text", "html", lynx), + PR(NULL, "text", "html", w3m), PR(NULL, "text", "x-diff", delta), PR(NULL, "text", "x-patch", delta),