bar-gmail icon indicating copy to clipboard operation
bar-gmail copied to clipboard

Issue with multiple accounts

Open christopherbruce opened this issue 11 months ago • 0 comments

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"

bar-gmail

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

christopherbruce avatar Mar 11 '24 13:03 christopherbruce