brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.27k stars 620 forks source link

[Feature request] notmuch support #1030

Closed aivarsV closed 1 year ago

aivarsV commented 4 years ago

Issue(sort of): Recently I moved from simple maildir email reading scheme to notmuch tag based virtual mailboxes in my mail user agent. I also like to see number of unread emails in conky output. Now, to keep things consistent I have something like this in conkyrc

${execi 20 "notmuch count tag:inbox and tag:unread"}

This works fine, but, man pages, related to exec, contains following warning:

       exec command
              Executes  a shell command and displays the output in conky.  Warning: this takes a
              lot more resources than other variables. I'd recommend coding wanted behaviour  in
              C/C++ and posting a patch.

It would be great to get another opinions about performance gains/losses between exec method and native variables. Notmuch has C/C++ bindings, as described in link below, so it should be straight forward to implement it.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 30 days with no activity.