]> code.delx.au - spectrwm/blobdiff - baraction.sh
Update bar more often and remove ./ from baraction.sh
[spectrwm] / baraction.sh
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