From b3fdb09a1c512738fbe42aefb80a92b4560a5677 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 9 Jan 2022 20:07:10 +0100 Subject: Update icons for statusbar scripts --- .local/bin/statusbar/sb-cpubars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/statusbar/sb-cpubars') diff --git a/.local/bin/statusbar/sb-cpubars b/.local/bin/statusbar/sb-cpubars index 1684ead..a40dd05 100755 --- a/.local/bin/statusbar/sb-cpubars +++ b/.local/bin/statusbar/sb-cpubars @@ -10,7 +10,7 @@ cache=/tmp/cpubarscache case $BLOCK_BUTTON in 2) setsid -f "$TERMINAL" -e htop ;; - 3) notify-send " CPU load module" "Each bar represents + 3) notify-send "󰻠 CPU load module" "Each bar represents one CPU core";; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac @@ -19,7 +19,7 @@ esac 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 "CPU: " +printf "" echo "$stats" | while read -r row; do id=${row%% *} rest=${row#* } -- cgit v1.2.3-70-g09d2