dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 0d3b88fbcc5d706445d71db39d18f3c0d50675dd
parent 916cd9a275e21cb553f11e57abc47eb0fe889e99
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 14 Mar 2023 18:26:40 -0400

Fix CPU usage field access

Diffstat:
M.local/bin/bar-action | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/bar-action b/.local/bin/bar-action @@ -2,7 +2,7 @@ while :; do vmstats=$(vmstat -c2 | tail -1) - cpu=$(echo $vmstats | awk '{print 100-$17}') + cpu=$(echo $vmstats | awk '{print 100-$NF}') mem=$(echo $vmstats | awk '{print $3}') dsk=$(df -h /home | tail -1 | awk '{print $5}') bat=$(apm -l)