awesome/calendar.lua

9 lines
259 B
Lua
Raw Normal View History

2018-11-28 14:49:10 +01:00
local awful = require("awful")
textclock_widget = awful.widget.textclock(" %a %d %b %H:%M ")
calendar_widget = awful.tooltip({objects={textclock_widget}})
awful.spawn.easy_async('gcal -i- -s1 .+', function(stdout)
calendar_widget:set_text(stdout)
end)