From 34aa4a1f98aa4986e26e48a2270713ac55afdad3 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 7 Jan 2021 08:51:09 +0100 Subject: [PATCH] Add daily tasks to conky --- conky/general.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conky/general.lua b/conky/general.lua index 359ec0d..e112c7a 100644 --- a/conky/general.lua +++ b/conky/general.lua @@ -2,7 +2,8 @@ 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 5 task "(due.before:eow or due:eow) +PENDING" export | luajit -e 'print(#require"cjson".decode(io.read("a")))' } Tasks +${color2}Due today:$color $alignr${execi 5 task "due <= eod +PENDING" export | luajit -e 'print(#require"cjson".decode(io.read("a")))' } Tasks +${color2}Due this week:$color $alignr${execi 5 task "due <= eow +PENDING" 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 }