From daf3e4b41dc71e84fb148851fe531f5dd2fb790b Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 23 Feb 2020 21:07:44 -0500 Subject: [jira] add gif and update readme --- jira-widget/jira.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jira-widget/jira.lua') diff --git a/jira-widget/jira.lua b/jira-widget/jira.lua index 64fb91b..e318871 100644 --- a/jira-widget/jira.lua +++ b/jira-widget/jira.lua @@ -180,7 +180,8 @@ local function worker(args) -- text = string.format(GET_ISSUES_CMD, host, query:gsub(" ", "+")), -- run = function() spawn.with_shell("echo '" .. string.format(GET_ISSUES_CMD, host, query:gsub(" ", "+")) .. "' | xclip -selection clipboard") end --} - watch(string.format(GET_ISSUES_CMD, host, query:gsub(' ', '+')), + local screenshot = 'cat /home/pmakhov/.IntelliJIdea2019.3/config/scratches/scratch_3.json' + watch(string.format(screenshot, host, query:gsub(' ', '+')), 10, update_widget, jira_widget) return jira_widget end -- cgit v1.2.3