swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit ab1466a5d48012993394aa852d16480385128d8d
parent 88bd26d4e028162748fa3f432d284a44111a2073
Author: uriel@soma <unknown>
Date:   Thu, 29 Oct 2009 09:47:53 +0000

Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.
Diffstat:
Mapps/wman/page_list.tpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/wman/page_list.tpl b/apps/wman/page_list.tpl @@ -5,7 +5,7 @@ %{ wman_ls_pages $wman_cat_path \ | awk -F/ '{ print "<li><a href=\""$(NF)"\">"$(NF)"</a></li>" } - NR%28 == 0 { print "</ul><ul style=\"float: left\">" }' + NR%20 == 0 { print "</ul><ul style=\"float: left\">" }' %} </ul>