From fff6cc7ca8f3cd432c3262f1e2508fb02aa35df3 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 18 Nov 2022 12:14:53 +0100 Subject: [PATCH 1/2] [status] fix: space in sb-cpu --- .local/bin/statusbar/sb-cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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#* } From cceef6fe61d0dc0bd1bb5b08c534ccc1a1b350d5 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Mon, 21 Nov 2022 10:19:14 +0100 Subject: [PATCH 2/2] [WIP][mail] fix: mail flitering --- .config/notmuch/default/hooks/{post-new => post_new.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .config/notmuch/default/hooks/{post-new => post_new.sh} (100%) 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