tconfig.h: read mailstatus from file - spoon - [fork] customized build of spoon, the dwm status utility
 (HTM) git clone git://src.adamsgaard.dk/spoon
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 3e718a5701ff8f984b516249188915b19a5bd814
 (DIR) parent d994bb8af849ec674490ddda07e5cb0705fea730
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Tue, 22 Jul 2025 08:57:48 +0200
       
       config.h: read mailstatus from file
       
       Diffstat:
         M config.h                            |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/config.h b/config.h
       t@@ -10,7 +10,8 @@ struct ent ents[] = {
                { .fmt = " %s",                .read = fileread,        .arg = "/tmp/radiostats" },
                { .fmt = " %s",                .read = fileread,        .arg = "/tmp/pingtimer" },
                { .fmt = " %s "SEP,        .read = mpdread,        .arg = &(struct mpdarg){ .host = NULL, .port = 0 } },
       -        { .fmt = "%s",        .read = countread,        .arg = "/home/ad/.mail/adamsgaard.dk/INBOX/new" },
       +        /* { .fmt = "%s",        .read = countread,        .arg = "/home/ad/.mail/adamsgaard.dk/INBOX/new" }, */
       +        { .fmt = " %s "SEP,        .read = fileread,        .arg = "/tmp/mailstats" },
                { .fmt = " %s "SEP,        .read = xkblayoutread,        .arg = NULL },
                { .fmt = " vol %s "SEP,        .read = mixread,        .arg = NULL },
                /*{ .fmt = "[%s] ",        .read = cpuread,        .arg = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" },*/