Skip to content

Commit

Permalink
calendar: cal_format typo corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
copycat-killer committed Apr 26, 2016
1 parent a04895f commit 01bad23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/calendar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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<b><span foreground=\"%s\" background=\"%s\">%d<\\/span><\\/b>\\2/'",
calendar.cal, today, today, calendar.bg, calendar.fg, today)
end
Expand Down

0 comments on commit 01bad23

Please sign in to comment.