Skip to content

mizzunet/waybar-unread-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unread-email

A simple Go script to print unread emails count and suitable to use as Waybar module

image

Install

Copy unread-count to PATH

Usage

Usage of unread-count:
  -I string
    	Icon (default "\U000f05f0")
  -P string
    	Password
  -S string
    	Server
  -U string
    	Username

Waybar config

{
"layer": "top",
"position": "top", 
"modules-left": ["custom/unreadcount"],

    "custom/unreadcount": {
        "exec": "unread-count -U user -P pass -S 127.0.0.1:1143",
        "return-type": "json",
        "interval": 30,
        "format": "{}",
        "on-click": "geary"
    },
}

Libraries

go-imap

About

A Waybar module that displays unread emails count

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages