crabvk / bar-gmail

A Polybar module to show unread messages from Gmail
MIT License
90 stars 12 forks source link

Where to store credentials #4

Closed pat-s closed 6 years ago

pat-s commented 6 years ago

After running auth.py, where should I store the credentials key?

crabvk commented 6 years ago

@pat-s After you run auth.py the google accounts url will be opened in your default browser screenshot Press ALLOW button, then copy given code back to the terminal (where you run auth.py) and press ENTER File credentials.json will be created in current dir.

pat-s commented 6 years ago

Thanks. Some hints that maybe worth putting into the README:

  1. I had no Chromium installed and opening the xdg-link with Vivaldi does not seem to work properly.
  2. The creation of credentials.json failed under .config due to permission errors. Maybe its safer to point to ~./polybar-scripts/gmail.

Got it working now. Thanks :smile: