commit 821d866b545d685158abac329229d57d8495c2da parent 83232a1d30e6f47943e4c5526519ee3fe60c73db Author: Santtu Lakkala <inz@inz.fi> Date: Thu, 10 Sep 2020 11:09:04 +0000 Unread counts from thunderbird Diffstat:
A | posts/unread-counts-from-thunderbird.md | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/posts/unread-counts-from-thunderbird.md b/posts/unread-counts-from-thunderbird.md @@ -0,0 +1,7 @@ +# Unread counts from thunderbird + +I wanted counts of unread emails onto my dwm status bar, and could not find any nice way to the those from thunderbird. With a few pointers from the intarnets, I wrote this [quick'n'dirty perl script](/p/tbunread.perl) to get the info in a reasonably interactive and resource friendly manner. + +It abuses tail -f to read the .msf files under $HOME/.thunderbird/*.default (note: new boxen won't appear in the results without restart of the script). + +The script is probably buggy and there most likely are cases where it fails dramatically, but seems to work well enough. +\ No newline at end of file