summaryrefslogtreecommitdiff
path: root/.config/i3blocks/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3blocks/config')
-rw-r--r--.config/i3blocks/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index 178b82c..bf5ca79 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -56,9 +56,9 @@ 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
-command=celcius=$(sysctl -n dev.cpu.0.temperature|cut -d'.' -f1) ; printf "󰔏 %.3d℉\n" $(echo "$celcius * 9 / 5 + 32" | bc) ; [ $celcius -ge 80 ] && return 33 || return 0
+#[temp]
+#interval=10
+#command=celcius=$(sysctl -n dev.cpu.0.temperature|cut -d'.' -f1) ; printf "󰔏 %.3d℉\n" $(echo "$celcius * 9 / 5 + 32" | bc) ; [ $celcius -ge 80 ] && return 33 || return 0
[battery]
interval=60