diff --git a/.config/notmuch/default/hooks/post-new b/.config/notmuch/default/hooks/post_new.sh similarity index 100% rename from .config/notmuch/default/hooks/post-new rename to .config/notmuch/default/hooks/post_new.sh diff --git a/.local/bin/statusbar/sb-cpu b/.local/bin/statusbar/sb-cpu index 7648df1..d19f7a7 100755 --- a/.local/bin/statusbar/sb-cpu +++ b/.local/bin/statusbar/sb-cpu @@ -12,7 +12,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 " %s " " " +printf " %s " "" echo "$stats" | while read -r row; do id=${row%% *} rest=${row#* }