X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/a04895f5eee173f2b22ec671920e455a9ce9b903..ebefc1e21d71c4b53e27e142cd199f3ec600da9c:/widgets/calendar.lua?ds=inline 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