aboutsummaryrefslogtreecommitdiff
path: root/bin/status
diff options
context:
space:
mode:
Diffstat (limited to 'bin/status')
-rwxr-xr-xbin/status6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/status b/bin/status
index 9643e39..df787a1 100755
--- a/bin/status
+++ b/bin/status
@@ -7,7 +7,7 @@ cpu() {
}
mail() {
- NEWMAIL=$(expr $(ls -1 ~/mail/*/INBOX/new | wc -l) - 7)
+ NEWMAIL=$(expr $(ls -1 ~/mail/*/INBOX/new | wc -l) - 5)
if [ "${NEWMAIL%% *}" -eq 0 ]; then
printf " (%s)" "${NEWMAIL%% *}"
@@ -71,7 +71,7 @@ ipaddr() {
}
dostatus() {
- exec xsetroot -name "$VOL│$MEM│$IP│$CPU│$NML│$WTR│$TIM" &
+ exec xsetroot -name "$VOL│$MEM│$BAT|$IP│$CPU│$NML│$WTR│$TIM" &
}
# signal handlers
@@ -145,6 +145,6 @@ do
refresh_cpu
refresh_mail
refresh_time
- dostatus &
+ dostatus
sleep 1m & wait $!
done