From 3356f1ccd4f323baa9accda99795d5377f9a24ba Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 20 Feb 2009 14:28:32 +0000 Subject: [PATCH] Update bar more often and remove ./ from baraction.sh --- baraction.sh | 2 +- scrotwm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/baraction.sh b/baraction.sh index 240b1fc..4a44a7a 100644 --- a/baraction.sh +++ b/baraction.sh @@ -76,7 +76,7 @@ while :; do APM_DATA="" I=0 while read -p; do - if [ $(( ${I} % 59 )) -eq 0 ]; then + if [ $(( ${I} % 1 )) -eq 0 ]; then APM_DATA=`/usr/sbin/apm -alb` fi if [ $I -gt 2 ]; then diff --git a/scrotwm.conf b/scrotwm.conf index 6459ed2..765dfd1 100644 --- a/scrotwm.conf +++ b/scrotwm.conf @@ -10,7 +10,7 @@ bar_border[1] = rgb:00/80/80 bar_color[1] = black bar_font_color[1] = rgb:a0/a0/a0 bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-* -#bar_action = ./baraction.sh +#bar_action = baraction.sh #bar_delay = 1 clock_enabled = 1 -- 2.39.2