Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bump version
[spectrwm.git]
/
baraction.sh
diff --git
a/baraction.sh
b/baraction.sh
index
d8d519c
..
57f0e60
100644
(file)
--- a/
baraction.sh
+++ b/
baraction.sh
@@
-1,4
+1,6
@@
#!/bin/sh
+#
+# $scrotwm$
print_date() {
# The date is printed to the status bar by default.
@@
-10,7
+12,7
@@
print_date() {
}
print_mem() {
- MEM=`/usr/bin/top | grep Free: | awk {'print $6'}`
+ MEM=`/usr/bin/top | grep Free: | cut -d " " -f7`
echo -n "Free mem: $MEM "
}