swerc

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

commit 298e0f0299c6516fecd4c2ee011948318506af36
parent 5f62c3bbac5d1265e2b050151bf0bc6a8d6d2cf7
Author: uriel@suckless.org <unknown>
Date:   Fri, 12 Sep 2008 01:31:32 +0200

Use correct css class for sidebar items
Diffstat:
Mbin/controller.rc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/controller.rc b/bin/controller.rc @@ -68,7 +68,7 @@ fn menu { # lsArgs = ($lsArgs -r) #} ls $lsArgs $1 | sed $dirfilter | awk -F/ ' - BEGIN { print "<ul class=\"sidebar\">" } + BEGIN { print "<ul class=\"side-bar\">" } END { print "</ul>" } # Should add \. to the list of allowed chars in file names, but need to find a way to filter out .txt and so on /^([a-zA-Z0-9+_\-]+[\/*]?)+$/ && $NF != "index" {