A simple library to show the google calendar feed on polybar bar.
https://developers.google.com/calendar/quickstart/python
- You need to create a Google API project and download your OAuth 2.0 credentials json file. You first need to create a project here, then add Google Calendar support, then download the credentials.json file.
- Download the credentials file to somewhere on your computer.
- Proceed to installation phase.
In user_modules.ini
add this code:
[module/GooFee]
[module/GooFee]
; Show the next event and forget cache automatically every 2 minutes
type = custom/script
format-prefix = "%{F#61afef}%{F-} "
exec = cd /home/$USER/.config/GooFee && python src/getEvent.py -d 3 -o UPDATE
click-left = firefox https://calendar.google.com/calendar/u/2/r/week
click-right = cd /home/$USER/.config/GooFee && event=$(python src/getEvent.py -o SHOW) && notify-send GooFee "$(echo $event)"
interval = 120
Now in config.ini
:
modules-center = GooFee
after that:
Read our contributing guidelines for how to get started with contributing to GooFee.
- i3-agenda