From ded4f5858c30a56d419f43397f24bdfcd7c3c51d Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 30 Nov 2020 09:27:30 +0100 Subject: [PATCH] Add task warrior counter to Conky --- conky/general.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conky/general.lua b/conky/general.lua index f550175..3fb0f7c 100644 --- a/conky/general.lua +++ b/conky/general.lua @@ -1,7 +1,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:$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 # ${color3}Stats $hr$color ${color2}ip:$color $alignr${texeci 3 wget http://darkwiiplayer.com/api/ip --no-check-certificate -qO - 2>/dev/null }