]> code.delx.au - spectrwm/commitdiff
Update bar more often and remove ./ from baraction.sh
authorMarco Peereboom <marco@conformal.com>
Fri, 20 Feb 2009 14:28:32 +0000 (14:28 +0000)
committerMarco Peereboom <marco@conformal.com>
Fri, 20 Feb 2009 14:28:32 +0000 (14:28 +0000)
baraction.sh
scrotwm.conf

index 240b1fcb16499eab7bde685270155aa09bf4295e..4a44a7aa397e9f28ea2f22c6933b89b477290eaa 100644 (file)
@@ -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
index 6459ed2b1f66bfb6ea1fd68ee20b5ad5c2ad1366..765dfd170b7628402606dbee658bf532cb853b09 100644 (file)
@@ -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