From e482f5b7101c2eb60e8941cd1d72f6b08ee721b8 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 23 Feb 2020 21:29:37 -0500 Subject: [jira] remove screenshot prep step --- jira-widget/jira.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'jira-widget/jira.lua') diff --git a/jira-widget/jira.lua b/jira-widget/jira.lua index e318871..64fb91b 100644 --- a/jira-widget/jira.lua +++ b/jira-widget/jira.lua @@ -180,8 +180,7 @@ 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 --} - local screenshot = 'cat /home/pmakhov/.IntelliJIdea2019.3/config/scratches/scratch_3.json' - watch(string.format(screenshot, host, query:gsub(' ', '+')), + watch(string.format(GET_ISSUES_CMD, host, query:gsub(' ', '+')), 10, update_widget, jira_widget) return jira_widget end -- cgit v1.2.3