From: luke bonham <dadasignificanulla@gmail.com>
Date: Fri, 14 Feb 2014 17:02:02 +0000 (+0100)
Subject: base: small fix
X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/cabd72a77557bc7d406b4a639e3abbd276003d91

base: small fix
---

diff --git a/widgets/base.lua b/widgets/base.lua
index 198b6f7..3d4ce9e 100644
--- a/widgets/base.lua
+++ b/widgets/base.lua
@@ -32,7 +32,7 @@ local function worker(args)
         settings()
     end
 
-    newtimer(cmd, timeout, update)
+    newtimer(cmd, timeout, base.update)
 
     return setmetatable(base, { __index = base.widget })
 end
diff --git a/widgets/calendar.lua b/widgets/calendar.lua
index d0df17c..c9e265a 100644
--- a/widgets/calendar.lua
+++ b/widgets/calendar.lua
@@ -37,7 +37,7 @@ function calendar:show(t_out, inc_offset)
     local tims = t_out or 0
     local f, c_text
     local today = tonumber(os.date('%d'))
-    local init_t = '/usr/bin/cal --color=never | sed -r -e "s/(^| )( '
+    local init_t = '/usr/bin/cal | sed -r -e "s/(^| )( '
 
     if offs == 0
     then -- current month showing, today highlighted