mirror of https://github.com/lcpz/lain.git
#139 proposed fix
This commit is contained in:
parent
c959fc72b0
commit
5e8b6394ff
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue