X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/a04895f5eee173f2b22ec671920e455a9ce9b903..a659d1a4bc99d27a1746985e13f68efc3dd256c7:/widgets/calendar.lua diff --git a/widgets/calendar.lua b/widgets/calendar.lua index c1c0517..1a481ca 100644 --- a/widgets/calendar.lua +++ b/widgets/calendar.lua @@ -100,7 +100,7 @@ function calendar:attach(widget, args) local args = args or {} calendar.cal = args.cal or "/usr/bin/cal" - calendar.cal_format = args.ca_format or function(today) + calendar.cal_format = args.cal_format or function(today) return string.format("%s | sed -r -e 's/_\\x08//g' -e '0,/(^| )%d($| )/ s/(^| )%d($| )/\\1%d<\\/span><\\/b>\\2/'", calendar.cal, today, today, calendar.bg, calendar.fg, today) end