dotfiles/awesome/calendar.lua

9 lines
259 B
Lua
Raw Normal View History

2016-08-22 13:58:25 +02: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 18:04:37 +02:00
awful.spawn.easy_async('gcal -i- -s1 .+', function(stdout)
calendar_widget:set_text(stdout)
end)