summaryrefslogtreecommitdiff
path: root/jira-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-02-23 21:29:37 -0500
committerstreetturtle <streetturtle@gmail.com>2020-02-23 21:29:37 -0500
commite482f5b7101c2eb60e8941cd1d72f6b08ee721b8 (patch)
treeb687254ce4b86b67d094a84a47d48b58a9eeb773 /jira-widget
parentdaf3e4b41dc71e84fb148851fe531f5dd2fb790b (diff)
[jira] remove screenshot prep step
Diffstat (limited to 'jira-widget')
-rw-r--r--jira-widget/jira.lua3
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