Date/Time widget: open Google Calendar on left mouse button click.

This commit is contained in:
Kolan Sh 2016-09-26 13:25:40 +03:00
parent 709e679630
commit 57fbcb3d93
1 changed files with 5 additions and 0 deletions

5
rc.lua
View File

@ -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 = {}