From 57fbcb3d936bd108f7efd92e26dbabbdcaa39497 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 26 Sep 2016 13:25:40 +0300 Subject: [PATCH] Date/Time widget: open Google Calendar on left mouse button click. --- rc.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rc.lua b/rc.lua index fdb89ad..1a0f828 100644 --- a/rc.lua +++ b/rc.lua @@ -131,6 +131,11 @@ spacer:set_text(' ') -- Create a textclock widget local mytextclock = awful.widget.textclock() +mytextclock:buttons(awful.util.table.join(awful.button({ }, 1, + function () + os.execute ("xdg-open https://calendar.google.com/calendar/render?tab=wc#main_7%7Cmonth &") + end +))) -- Create a wibox for each screen and add it local mywibox = {}