diff options
Diffstat (limited to '.config/i3blocks')
| -rw-r--r-- | .config/i3blocks/config | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 095031f..904c3db 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -63,6 +63,7 @@ command=printf " %s  %s\n" $(top -n|grep Mem:|cut -w -f2,8)  [load]  interval=10  command=cpu_count=$(sysctl -n hw.ncpu) ; avg_load=$(sysctl vm.loadavg|cut -w -f3) ; percent=$(echo "result = $avg_load / $cpu_count * 100; scale=0; result / 1"|bc -l) ; printf " %.2d%%\n" $percent ; [ $percent -ge 70 ] && return 33 || return 0 +#command=printf " %s\n" $(top -n|sed -n '3p'|cut -w -f2)  [temp]  interval=10 |