diff options
| author | Blista Kanjo | 2023-07-18 19:28:54 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-07-18 19:28:54 -0400 |
| commit | 987533416281c27c4efdcd1a3b6894147a1ff650 (patch) | |
| tree | 9a4902b88bccf1192038b9e8e713189b13a5d2ac /.local/bin/awesome-widgets/widget-cpu_usage | |
| parent | efe3e0c1927e3a2ab0a3f29fdf2b35b1aca22e22 (diff) | |
refactor: change icons of RAM and CPU usage
Diffstat (limited to '.local/bin/awesome-widgets/widget-cpu_usage')
| -rwxr-xr-x | .local/bin/awesome-widgets/widget-cpu_usage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/awesome-widgets/widget-cpu_usage b/.local/bin/awesome-widgets/widget-cpu_usage index 14997fd..53dab4d 100755 --- a/.local/bin/awesome-widgets/widget-cpu_usage +++ b/.local/bin/awesome-widgets/widget-cpu_usage @@ -6,7 +6,7 @@ cache=/tmp/cpubarscache stats=$(awk '/cpu[0-9]+/ {printf "%d %d %d\n", substr($1,4), ($2 + $3 + $4 + $5), $5 }' /proc/stat) [ ! -f $cache ] && echo "$stats" > "$cache" old=$(cat "$cache") -printf " 📊 " +printf " 🫀 " echo "$stats" | while read -r row; do id=${row%% *} rest=${row#* } |
