#139 proposed fix

This commit is contained in:
copycat-killer 2015-09-15 08:55:53 +02:00
parent c959fc72b0
commit 5e8b6394ff
1 changed files with 1 additions and 2 deletions

View File

@ -113,8 +113,7 @@ function calendar:attach(widget, args)
calendar.cal = args.cal or "/usr/bin/cal" calendar.cal = args.cal or "/usr/bin/cal"
calendar.post_cal = args.post_cal or "" calendar.post_cal = args.post_cal or ""
calendar.icons = args.icons or icons_dir .. "cal/white/" calendar.icons = args.icons or icons_dir .. "cal/white/"
calendar.font = args.font or beautiful.font:sub(beautiful.font:find(""), calendar.font = args.font or beautiful.font:gsub(" %d.*", "")
beautiful.font:find(" "))
calendar.font_size = tonumber(args.font_size) or 11 calendar.font_size = tonumber(args.font_size) or 11
calendar.fg = args.fg or beautiful.fg_normal or "#FFFFFF" calendar.fg = args.fg or beautiful.fg_normal or "#FFFFFF"
calendar.bg = args.bg or beautiful.bg_normal or "#000000" calendar.bg = args.bg or beautiful.bg_normal or "#000000"