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.
Also, nice function name `BowChickaWowWow` :)
> 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)'
--client_id API client_id
--client_secret API client_secret
edit: I got it working. When creating a new client id, you need to choose "Installed application" as the application type.