JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Make time localized too.
[spectrwm.git] / baraction.sh
index 7455219..c3ac272 100644 (file)
@@ -1,6 +1,5 @@
 #!/bin/sh
 #
-# $scrotwm$
 
 print_date() {
        # The date is printed to the status bar by default.
@@ -12,7 +11,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  "
 }