Simple waybar module that formats a khal calendar into a tooltip. Heavy inspiration taken from the Next calendar events module.
Default config:
- Events included in the nexy 14 days
- Calendar size set to 1 month in ~/.config/khal/config
# ~/.config/khal/config
[view]
min_calendar_display = 1
- Clone waybar-khal.py to whereever you keep your waybar modules e.g.
~/.config/waybar/modules/waybar-khal.py - Make
waybar-khal.pyexecutable:
chmod +x ~/.config/waybar/modules/waybar-khal.py- Add the following to your waybar config
"custom/khal": {
"format": "{}",
"tooltip": true,
"interval": 60,
"format-icons": {
"default": ""
},
//! replace with your waybar-khal.py path
"exec": "~/.config/waybar/modules/waybar-khal.py",
"return-type": "json"
},- Reload waybar
- Find a useful way to display any events / tasks on current day
