From: luke bonham Date: Thu, 13 Feb 2014 09:58:47 +0000 (+0100) Subject: cal: --color=never added to discourage #29 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/9889ef5ca2e62b3cc9802a2dadff6a4ee5069114?ds=inline cal: --color=never added to discourage #29 --- diff --git a/widgets/calendar.lua b/widgets/calendar.lua index c9e265a..d0df17c 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 | sed -r -e "s/(^| )( ' + local init_t = '/usr/bin/cal --color=never | sed -r -e "s/(^| )( ' if offs == 0 then -- current month showing, today highlighted