summaryrefslogtreecommitdiff
path: root/jira-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2019-12-17 21:37:03 -0500
committerstreetturtle <streetturtle@gmail.com>2019-12-17 21:37:03 -0500
commit9045e67d18859c57033ed38e6b64b5ecaf6dedf0 (patch)
tree6c08f9b5b6a2ef3175d7b45a806c1e04fc910462 /jira-widget
parentecb9a0e9e8ed2957fae4694a0c39e9e125661178 (diff)
add titles for error notifications
Diffstat (limited to 'jira-widget')
-rw-r--r--jira-widget/jira.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/jira-widget/jira.lua b/jira-widget/jira.lua
index d0b364b..15855cb 100644
--- a/jira-widget/jira.lua
+++ b/jira-widget/jira.lua
@@ -31,7 +31,10 @@ local function worker(args)
local args = args or {}
local icon = args.icon or HOME_DIR .. '/.config/awesome/awesome-wm-widgets/jira-widget/jira-mark-gradient-blue.svg'
- local host = args.host or naughty.notify{preset = naughty.config.presets.critical, text = 'Jira host is unknown'}
+ local host = args.host or naughty.notify{
+ preset = naughty.config.presets.critical,
+ title = 'Jira Widget',
+ text = 'Jira host is unknown'}
local query = args.query or 'jql=assignee=currentuser() AND resolution=Unresolved'
local current_number_of_reviews