2016-08-22 12:58:25 +01:00
|
|
|
local awful = require("awful")
|
|
|
|
|
|
|
|
textclock_widget = awful.widget.textclock(" %a %d %b %H:%M ")
|
|
|
|
|
|
|
|
calendar_widget = awful.tooltip({objects={textclock_widget}})
|
2017-10-19 17:04:37 +01:00
|
|
|
awful.spawn.easy_async('gcal -i- -s1 .+', function(stdout)
|
|
|
|
calendar_widget:set_text(stdout)
|
|
|
|
end)
|