bar-gmail
bar-gmail copied to clipboard
Issue with multiple accounts
It looks like it's (maybe?) pulling the unread count from the session.json
file, which is being written by both instances, so when I have 1 email in "home" is is also showing 1 email in "work"
I have generated two credentials files and configured my polybar modules like this (edited to remove styling)
[module/gmail-home]
type = custom/script
interval = 60
exec = bar-gmail -f polybar -b "" -cr home/credentials.json
click-left = ~/.config/i3/scripts/open_gmail_home
[module/gmail-work]
type = custom/script
interval = 60
exec = bar-gmail -f polybar -b "" -cr work/credentials.json
click-left = ~/.config/i3/scripts/open_gmail_work