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/e628b17d91e3f688be3d11fb39905f8f342dd543 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