yourmeetings
is a simple waybar module that shows the next meeting in your Google Calendar.
Inspired by Chmouel Boudjnah nextmeeting
A Bash script that checks Google Calendar for upcoming events and provides notifications, using notify-send
for alerts and optionally opening Google Meet links. The script supports customizable calendar selection and notification display length.
In title shows only today's events, in the body shows the next event.
- Waybar Integration: Displays the next event in the Waybar status bar.
- Event Notifications: Notifies when an event is starting within the next 10 minutes.
- Meeting URL Opening: Automatically opens Google Meet URLs for upcoming events.
- Agenda Display: Lists events in a concise format with an option to specify text length.
- Customization: Options to select the calendar, specify notification length, and customize notification timing.
- gcalcli: A command-line interface for Google Calendar.
- notify-send: Used for desktop notifications (common on Linux systems).
- jq: Optional, for formatting output when generating JSON.
- xdg-open: Required for opening URLs in the default browser.
- Clone the repository or download the script directly.
- Ensure that dependencies (
gcalcli
,notify-send
,jq
, andxdg-open
) are installed on your system. - Calendar name can be obtained with
gcalcli list
- You need to install gcalcli and setup the google Oauth integration with google calendar.
- Setup module in waybar config file.
"custom/agenda": {
"format": "{}",
"exec": "/bin/bash /event_notifier.sh --calendar Work --len 50",
"on-click": "/bin/bash /event_notifier.sh --calendar Work --len 50 --open",
"interval": 59,
"return-type": "json",
"tooltip": "true"
},
You can style some of the waybar item with the following CSS:
#custom-agenda {
color: #696969;
}
If you enable the option "--notify-min-before-events it will output a class
soon
if the events is coming soon, you can style it with:
#custom-agenda.soon {
color: #eb4d4b;
}
- Misha Ship https://github.com/monteship