sigusr for slstatus
authorMart Lubbers <mart@martlubbers.net>
Mon, 22 Jun 2020 06:42:28 +0000 (08:42 +0200)
committerMart Lubbers <mart@martlubbers.net>
Mon, 22 Jun 2020 06:42:28 +0000 (08:42 +0200)
config.h/slstatus/config.h
config.h/slstatus/slstatus-sigusr-refresh-2020-06-18-b14e039.diff [new file with mode: 0644]
email/.local/bin/newmail.sh

index 3a66ee3..719bf16 100644 (file)
@@ -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 (file)
index 0000000..e69de29
index 29e0638..94d5945 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 notmuch new
 vdirsyncer sync
+killall -s SIGUSR1 slstatus