tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.2k stars 229 forks source link

Module for displaying date with gnome-calendar opening on click #996

Closed surbhitt closed 9 months ago

surbhitt commented 9 months ago

Hi, I love the project been using it for a while. I love how easy it is to use and even implement custom modules. Thankfully to that I have been able to seamlessly modify it for my use case. I felt a personal requirement for this module as I need to open up calendar for setting up reminders a lot and opening it up from the bar seemed the easiest and most natural, probably this should exist in the core date module but didn't wanna touch it. Let me know if I should make any changes to this or anything at all, I am new to all this... I appreciate the feedback/critic. :)

tobi-wan-kenobi commented 9 months ago

Thanks a lot for the kind words, for using bumblebee and for the PR!

This actually does exist in the core tool itself, but is possibly not so well documented: every module has a "left-mouse" property to add actions on click, like this:

bumblebee-status -m date -p date.left-mouse=gnome-calendar

This will execute gnome-calender when left-clicking on the module.

Hope this works for you and helps!

surbhitt commented 9 months ago

thank you so much that is what I was looking for.