From: aajjbb Date: Mon, 24 Aug 2015 01:52:57 +0000 (-0300) Subject: Merge branch 'master' of https://github.com/copycat-killer/lain X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/fc8ea20ab569ec39de93e64540d173ea1214b2ec?hp=907fb6ff8ea724f0642075be615ac77c26ac62bb Merge branch 'master' of https://github.com/copycat-killer/lain --- diff --git a/widgets/calendar.lua b/widgets/calendar.lua index 7e52308..b811f70 100644 --- a/widgets/calendar.lua +++ b/widgets/calendar.lua @@ -117,11 +117,14 @@ function calendar:attach(widget, args) beautiful.font:find(" ")) calendar.font_size = tonumber(args.font_size) or 11 calendar.fg = args.fg or beautiful.fg_normal or "#FFFFFF" - calendar.bg = args.bg or beautiful.bg_normal or "#FFFFFF" + calendar.bg = args.bg or beautiful.bg_normal or "#000000" calendar.position = args.position or "top_right" calendar.scr_pos = args.scr_pos or 1 calendar.followmouse = args.followmouse or false + calendar.fg = string.sub(calendar.fg, 1, 7) + calendar.bg = string.sub(calendar.bg, 1, 7) + calendar.offset = 0 calendar.notify_icon = nil