tShow listener count in status - 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 4bbee90c2b9903651edf1ee0156f985d77a6cdbb
 (DIR) parent 0b5d0726bfff81af35ec51db72494cc0941a5a7d
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Thu, 11 Jun 2020 15:23:43 +0200
       
       Show listener count in status
       
       Diffstat:
         M config.h                            |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/config.h b/config.h
       t@@ -5,8 +5,9 @@ int delay = 1;
        
        struct ent ents[] = {
                /* reorder/edit/remove these as you see fit */
       -        { .fmt = "%s",        .read = fileexists,        .arg = "/tmp/screenrecord.pid" },
       -        { .fmt = "%s",        .read = fileexists,        .arg = "/tmp/adcast.pid" },
       +        { .fmt = " %s",        .read = fileexists,        .arg = "/tmp/screenrecord.pid" },
       +        { .fmt = " %s",        .read = fileexists,        .arg = "/tmp/adcast.pid" },
       +        { .fmt = " %s",                .read = fileread,        .arg = "/tmp/radiostats" },
                { .fmt = " %s "SEP,        .read = mpdread,        .arg = &(struct mpdarg){ .host = NULL, .port = 0 } },
                { .fmt = "%s",        .read = countread,        .arg = "/home/ad/.mail/adamsgaard/INBOX/new" },
                { .fmt = " %s "SEP,        .read = xkblayoutread,        .arg = NULL },