From 9b314f0932bd3189b704cfc51145b925ccb39d86 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 18 Sep 2022 16:17:58 -0400 Subject: post-reinstall i3, fixed persistent xresources errors --- .config/i3blocks/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/i3blocks') 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 -- cgit v1.2.3