From beab2876ba5e3c6cf1ff85e0033842f43bc726b5 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 7 Dec 2020 18:31:02 +0100 Subject: [PATCH] Change conky to use LuaJIT for taskwarrior parsing --- conky/general.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conky/general.lua b/conky/general.lua index 3fb0f7c..f314409 100644 --- a/conky/general.lua +++ b/conky/general.lua @@ -2,7 +2,7 @@ return [[$color3${time %Y-%m-%d} $color1${voffset -10}${font Quicksand:size=40}${time %H:%M}$font$color ${color2}Uptime:$color $alignr$uptime ${color2}At Queue:$color $alignr${execi 2 atq | wc -l } Jobs -${color2}Due this week:$color $alignr${execi 2 task "("due.before:eow or due:eow")" export | lua -e 'print(#require"cjson".decode(io.read("a")))' } Tasks +${color2}Due this week:$color $alignr${execi 2 task "("due.before:eow or due:eow")" export | luajit -e 'print(#require"cjson".decode(io.read("a")))' } Tasks # ${color3}Stats $hr$color ${color2}ip:$color $alignr${texeci 3 wget http://darkwiiplayer.com/api/ip --no-check-certificate -qO - 2>/dev/null }