Skip to content

Commit

Permalink
Write subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
tsub committed Nov 23, 2017
1 parent ac03683 commit 62a7a3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ appkey=$(security find-generic-password -a $USER -s dd-app-key -w)
<key>scriptfile</key>
<string></string>
<key>subtext</key>
<string></string>
<string>Open a dashboard url</string>
<key>title</key>
<string>datadog dashboard</string>
<key>type</key>
Expand All @@ -211,7 +211,7 @@ appkey=$(security find-generic-password -a $USER -s dd-app-key -w)
<key>keyword</key>
<string>datadog auth</string>
<key>subtext</key>
<string></string>
<string>Authenticates Datadog</string>
<key>text</key>
<string>datadog auth</string>
<key>withspace</key>
Expand Down Expand Up @@ -257,7 +257,7 @@ appkey=$(security find-generic-password -a $USER -s dd-app-key -w)
<key>fixedorder</key>
<false/>
<key>items</key>
<string>[{"title":"apikey","arg":"apikey"},{"title":"appkey","arg":"appkey"}]</string>
<string>[{"title":"apikey","arg":"apikey","subtitle":"Datadog api key"},{"title":"appkey","arg":"appkey","subtitle":"Datadog application key"}]</string>
<key>runningsubtext</key>
<string></string>
<key>subtext</key>
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func run() {

for _, dash := range dashboards {
url := fmt.Sprintf("https://app.datadoghq.com/dash/%d/datadog", dash.GetId())
wf.NewItem(dash.GetTitle()).Arg(url).Valid(true)
wf.NewItem(dash.GetTitle()).Subtitle(url).Arg(url).Valid(true)
}
}

Expand Down

0 comments on commit 62a7a3e

Please sign in to comment.