This is really useful. I've always wondered (but never bothered to search) if there was a cli interface for Google calendar. Integrating it into tmux is a nice bonus.
I really should setup my gmail account in mutt, it could save me a lot of alt-tabbing time.
As a sidenote, gcalcli is the best way to manage your google calendar. I always found creating calendar entries through apps or web such a nuisance that I just didn't bother.
Hi, we are working on getting that lifted (I'm one of the maintainers.) Right now you're best bet is to sign up for your own API key/secret and supply those via either a config file or command line arguments:
--client_id API client_id
--client_secret API client_secret
26 comments
[ 0.18 ms ] story [ 59.1 ms ] thread[1] https://blog.hauck.io/feed/
Thanks for the hint!
Now I switched back, hope everything is well now ;)
I really should setup my gmail account in mutt, it could save me a lot of alt-tabbing time.
> Be sure to replace GOOGLE_USERNAME with your accountname(everything in front of @gmail.com).
Where are you replacing GOOGLE_USERNAME?
set -g status-right '📅 #(gcalcli --nostarted --calendar "GOOGLE_USERNAME" agenda --nocolor | cut -d " " -f 4- | head -2 | tail -1 | sed "s/^ *//g" | sed "s/ / /g" | cut -c1-19)'
Also, nice function name `BowChickaWowWow` :)
edit: I got it working. When creating a new client id, you need to choose "Installed application" as the application type.