Change conky to use LuaJIT for taskwarrior parsing

This commit is contained in:
Talia 2020-12-07 18:31:02 +01:00
parent ded4f5858c
commit beab2876ba

View file

@ -2,7 +2,7 @@ return [[$color3${time %Y-%m-%d}
$color1${voffset -10}${font Quicksand:size=40}${time %H:%M}$font$color $color1${voffset -10}${font Quicksand:size=40}${time %H:%M}$font$color
${color2}Uptime:$color $alignr$uptime ${color2}Uptime:$color $alignr$uptime
${color2}At Queue:$color $alignr${execi 2 atq | wc -l } Jobs ${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 ${color3}Stats $hr$color
${color2}ip:$color $alignr${texeci 3 wget http://darkwiiplayer.com/api/ip --no-check-certificate -qO - 2>/dev/null } ${color2}ip:$color $alignr${texeci 3 wget http://darkwiiplayer.com/api/ip --no-check-certificate -qO - 2>/dev/null }