From: copycat-killer Date: Tue, 26 Apr 2016 16:01:30 +0000 (+0200) Subject: calendar: cal_format typo corrected X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/01bad23a2c11d5c05643016b3731d6d577547724 calendar: cal_format typo corrected --- 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