diff options
-rw-r--r-- | jira-widget/jira.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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 |