X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b96c57eced572d4783d106ee3a4ebeb831be4303..b9df9d975094f7a13a59397de772e4eef8c739e5:/calendar.md diff --git a/calendar.md b/calendar.md index 182c805..2b75840 100644 --- a/calendar.md +++ b/calendar.md @@ -1,11 +1,13 @@ +[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) + Attaches a calendar notification to a widget. - lain.widgets.calendar:attach(mywidget) + lain.widgets.calendar:attach(widget) - Left click: switch to previous month. - Right click: switch to next month. -Optionally you can call the function with background and foreground colors arguments, both or just one: +Optionally you can call the function with bg and fg colors arguments, both or just one: lain.widgets.calendar:attach(mytextclock, "#FFFFFF", "#000000") -- or @@ -13,6 +15,8 @@ Optionally you can call the function with background and foreground colors argum -- or lain.widgets.calendar:attach(mytextclock, nil, "#000000") +default bg and fg colors are `beautiful.bg_normal` and `beautiful.fg_focus`. + Notification will show an icon displaying current day, and formatted output from ``cal`` with current day highlighted.