From: Mart Lubbers Date: Mon, 22 Jun 2020 06:42:28 +0000 (+0200) Subject: sigusr for slstatus X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=4b27ac9df10f43f9da8470eda7eb3552a83bc7be;p=dotfiles.git sigusr for slstatus --- diff --git a/config.h/slstatus/config.h b/config.h/slstatus/config.h index 3a66ee3..719bf16 100644 --- a/config.h/slstatus/config.h +++ b/config.h/slstatus/config.h @@ -63,7 +63,7 @@ static const char unknown_str[] = "n/a"; */ static const struct arg args[] = { /* function format argument */ - { temp, "🌡 %s°C | ", + { temp, " 🌡 %s°C | ", "/sys/class/thermal/thermal_zone1/temp"}, { num_files, "✉ %s | ", "/home/mrl/.local/share/offlineimap/mail/INBOX/new" }, diff --git a/config.h/slstatus/slstatus-sigusr-refresh-2020-06-18-b14e039.diff b/config.h/slstatus/slstatus-sigusr-refresh-2020-06-18-b14e039.diff new file mode 100644 index 0000000..e69de29 diff --git a/email/.local/bin/newmail.sh b/email/.local/bin/newmail.sh index 29e0638..94d5945 100755 --- a/email/.local/bin/newmail.sh +++ b/email/.local/bin/newmail.sh @@ -1,3 +1,4 @@ #!/bin/sh notmuch new vdirsyncer sync +killall -s SIGUSR1 slstatus