19

GitHub - rougier/mu4e-dashboard

 3 years ago
source link: https://github.com/rougier/mu4e-dashboard
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.org

mu4e Dahsboard

mu4e dahsboard provides a new mu4e org link type that allows to execute various mu4e queries when clicked. Such links can be organised into a dashboard, by simply writing an org file as shown below:

./dashboard.png

Syntax is quite intuitive:

[[mu4e:query|format|count][description]]

query must be a valid mu4e query and count (optional) is the maximum number of results to be returned. When the link is clicked, mu4e-headers-search is called with the proper query.

[[mu4e:flag:unread][All unread]]
[[mu4e:flag:unread||10][Last 10 unread]]

format can be used to specify that query results are to be counted in order to update the descritption using the given format:

[[mu4e:flag:unread|(%3d)][(---)]]

With the example above, when the link is cliked, the --- part will be replaced by the number of unread mails.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK