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 c2d44e1..367681d 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -49,7 +49,7 @@ command=[ -f /tmp/cast.mkv ] && printf "󰻂\n" || return 0
[audio]
interval=once
signal=10
-command=vol=$(mixer vol|cut -d':' -f2) ; printf "󰕾%.3d\n" $vol ; [ $vol -eq 0 ] && return 33 || return 0
+command=vol=$(mixer vol|cut -d':' -f2) ; printf "󰕾%.2d\n" $vol ; [ $vol -eq 0 ] && return 33 || return 0
[disk]
interval=10
@@ -61,7 +61,7 @@ command=printf "󰍛%s\n" $(top -n | grep Mem | cut -w -f2)
[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 "󰻠%.3d%%\n" $percent ; [ $percent -ge 70 ] && return 33 || return 0
+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
[temp]
interval=10
@@ -69,7 +69,7 @@ command=celcius=$(sysctl -n dev.cpu.0.temperature|cut -d'.' -f1) ; printf "󰔏%
[battery]
interval=59
-command=status=$(apm -b) ; level=$(apm -l) ; [ $status -eq 3 ] && printf "󰂄%.3d%%" $level || printf "󰂁%.3d%%" $level && [ $status -eq 2 ] && return 33 || return 0
+command=status=$(apm -b) ; level=$(apm -l) ; [ $status -eq 3 ] && printf "󰂄%.2d%%" $level || printf "󰂁%.2d%%" $level && [ $status -eq 2 ] && return 33 || return 0
[date]
interval=59