diff options
Diffstat (limited to '.wmii/rbar_cpu')
-rwxr-xr-x | .wmii/rbar_cpu | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.wmii/rbar_cpu b/.wmii/rbar_cpu index 7f891da..d3bdd88 100755 --- a/.wmii/rbar_cpu +++ b/.wmii/rbar_cpu @@ -3,8 +3,7 @@ priority=$1 -set -e -while true; do +while connected_to_x_server; do # This doesn't work for me, it shows capacity #echo -n 'Core MHz:' $(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/.*: //g; s/\..*//g;') |a "$WMII_DIR/rbar/${priority}_cpu" # This actually displays %idle |