Skip to content

πŸ“… Displays upcoming meeting and list of meetings today from Google Calendar in BitBar, xBar, and Argos

License

Notifications You must be signed in to change notification settings

leoherzog/bitbar-agenda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BitBar/xBar/Argos Google Calendar Agenda

This is a Google Calendar Agenda script largely inspired by MeetingBar on macOS. I've personally only tested with Argos on Ubuntu, but it should work on any Linux distribution or macOS machine.

Setup

  1. Set up xBar or Argos and Python with Pip on your Mac or Linux machine
  2. Install the Google Python Client Library and Humanize with
    pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib humanize
  3. Create a Google Workspace API Project and enable the Google Calendar API. Download the credentials.json file and move it to your xBar/Argos plugin directory.
  4. Copy cal.30s.py from this repository to your xBar/Argos plugin directory
  5. Edit the Calendar ID(s) that you'd like to check, as well as the (optional) Emoji icon, on line 22-31
  6. If you'd like to colorize the events, set useColors to true on line 32
  7. If you'd like to filter out events with certain names, add them to the eventNamesToFilter list on line 33
  8. Mark the script as executible. It should pop open a web browser and ask for authentication, then begin listing events!

License

The MIT License (MIT)

Copyright Β© 2021 Leo Herzog

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About Me


Buy Me A Coffee