show the number of unread mail in i3bar

This commit is contained in:
Bruno Carlin 2020-06-16 07:09:08 +02:00
parent 264d10b02d
commit d66a19b62e
5 changed files with 28 additions and 0 deletions

View file

@ -22,6 +22,7 @@ order += "battery all"
order += "volume master"
order += "load"
order += "cpu_usage"
order += "read_file unreadmail"
order += "tztime local"
wireless _first_ {
@ -70,3 +71,9 @@ disk "/" {
disk "/home" {
format = "  %avail (%percentage_avail)"
}
read_file unreadmail {
path = "/home/bca/.cache/mail/waarp.unreadcount"
format = " %content"
Max_characters = 10
}