summaryrefslogtreecommitdiff
path: root/.config/i3blocks/config
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2022-09-18 16:17:58 -0400
committerAdam T. Carpenter <atc@53hor.net>2022-09-18 16:17:58 -0400
commit9b314f0932bd3189b704cfc51145b925ccb39d86 (patch)
tree3aa6078cd6af91426d5ac2791304895ba4d66d14 /.config/i3blocks/config
parentc28b62ffeba2e072011223b96afddc6cf053a177 (diff)
downloaddotfiles-9b314f0932bd3189b704cfc51145b925ccb39d86.tar.xz
dotfiles-9b314f0932bd3189b704cfc51145b925ccb39d86.zip
post-reinstall i3, fixed persistent xresources errors
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