i try a quick change
This commit is contained in:
parent
903f707a83
commit
6578d1f4f7
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ interval=0
|
||||||
cpu() {
|
cpu() {
|
||||||
cpu_val=$(grep -o "^[^ ]*" /proc/loadavg)
|
cpu_val=$(grep -o "^[^ ]*" /proc/loadavg)
|
||||||
|
|
||||||
printf "^c$black^ ^b$green^ CPU"
|
printf "^c$black^ ^b$red^ CPU"
|
||||||
printf "^c$white^ ^b$grey^ $cpu_val"
|
printf "^c$white^ ^b$grey^ $cpu_val"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,5 +47,5 @@ while true; do
|
||||||
[ $interval = 0 ] || [ $(($interval % 3600)) = 0 ]
|
[ $interval = 0 ] || [ $(($interval % 3600)) = 0 ]
|
||||||
interval=$((interval + 1))
|
interval=$((interval + 1))
|
||||||
|
|
||||||
sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)"
|
sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(clock)"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue