sync the baraction script with the top(1) changes

ok naddy@
This commit is contained in:
robert 2011-08-03 15:21:18 +00:00
parent 9815c5b5c4
commit 4686e2ccbe
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2011/06/23 22:58:06 sthen Exp $
# $OpenBSD: Makefile,v 1.32 2011/08/03 15:21:18 robert Exp $
COMMENT= small tiling window manager
@ -8,6 +8,8 @@ DISTNAME= scrotwm-0.9.32
EXTRACT_SUFX= .tgz
CATEGORIES= x11
REVISION= 0
HOMEPAGE= http://www.scrotwm.org/
MAINTAINER= Marco Peereboom <marco@peereboom.us>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-baraction_sh,v 1.1 2011/08/03 15:21:18 robert Exp $
--- baraction.sh.orig Wed Aug 3 17:20:10 2011
+++ baraction.sh Wed Aug 3 17:20:35 2011
@@ -12,7 +12,7 @@ print_date() {
}
print_mem() {
- MEM=`/usr/bin/top | grep Free: | cut -d " " -f7`
+ MEM=`/usr/bin/top | grep Free: | cut -d " " -f6`
echo -n "Free mem: $MEM "
}