summaryrefslogtreecommitdiff
path: root/.config/i3blocks
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-10-22 22:23:24 -0400
committer53hornet <atc@53hor.net>2021-10-22 22:23:24 -0400
commit143a951b6786301c0795e451567f4ce3a4b448d7 (patch)
tree0fa8c86cc737f497a146a5543c6228d04d127225 /.config/i3blocks
parent5c8cb5e271b1daa9ee371df2b5c583c9759c40e6 (diff)
downloaddotfiles-143a951b6786301c0795e451567f4ce3a4b448d7.tar.xz
dotfiles-143a951b6786301c0795e451567f4ce3a4b448d7.zip
fix: typo
Diffstat (limited to '.config/i3blocks')
-rw-r--r--.config/i3blocks/config1
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