Skip to content

F-Joubert/waybar-khal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Waybar Khal

Simple waybar module that formats a khal calendar into a tooltip. Heavy inspiration taken from the Next calendar events module.

image

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

Installation

  • Clone waybar-khal.py to whereever you keep your waybar modules e.g. ~/.config/waybar/modules/waybar-khal.py
  • Make waybar-khal.py executable:
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

ToDo

  • Find a useful way to display any events / tasks on current day

About

Khal calendar Waybar module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages