diff --git a/bin/main.dart b/bin/main.dart index 68bbdc0..225bbd0 100644 --- a/bin/main.dart +++ b/bin/main.dart @@ -5,7 +5,6 @@ import 'package:alfred_workflow/alfred_workflow.dart' show AlfredItem, AlfredItemIcon, - AlfredItemIconType, AlfredItemText, AlfredItems, AlfredWorkflow; @@ -84,19 +83,16 @@ Future _performSearch(String query) async { return AlfredItem( uid: result.objectID, - title: result.name, + title: result.code, subtitle: result.description, arg: result.code, + match: '${result.name} ${result.description}', text: AlfredItemText( copy: result.code, - largeType: result.description, + largeType: result.code, ), - icon: image != null - ? AlfredItemIcon( - path: image.absolute.path, - type: AlfredItemIconType.fileicon, - ) - : null, + icon: + image != null ? AlfredItemIcon(path: image.absolute.path) : null, valid: true, ); }).toList()), diff --git a/info.plist b/info.plist new file mode 100644 index 0000000..5497e37 --- /dev/null +++ b/info.plist @@ -0,0 +1,166 @@ + + + + + bundleid + com.techouse.alfred-gitmoji + category + Productivity + connections + + F6F9BD70-3218-4D80-A4D2-63C6A77142CA + + + destinationuid + B1E797A8-B1C1-4A07-A340-67D2AC741B3C + modifiers + 0 + modifiersubtext + + vitoclose + + + + destinationuid + D6793604-058B-4867-A1EA-BF8C2B8B3733 + modifiers + 1048576 + modifiersubtext + Only copy to clipboard + vitoclose + + + + + createdby + Klemen TuĊĦar + description + Search for gitmojis and copy them to the clipboard easily + disabled + + name + Gitmoji + objects + + + config + + autopaste + + clipboardtext + {query} + ignoredynamicplaceholders + + transient + + + type + alfred.workflow.output.clipboard + uid + B1E797A8-B1C1-4A07-A340-67D2AC741B3C + version + 3 + + + config + + alfredfiltersresults + + alfredfiltersresultsmatchmode + 0 + argumenttreatemptyqueryasnil + + argumenttrimmode + 0 + argumenttype + 0 + escaping + 102 + keyword + gm + queuedelaycustom + 3 + queuedelayimmediatelyinitially + + queuedelaymode + 0 + queuemode + 1 + runningsubtext + Fetching gitmojis ... + script + ./docs -q "{query}" + scriptargtype + 0 + scriptfile + + subtext + Search for gitmojis and copy them to the clipboard easily + title + Search for gitmojis + type + 0 + withspace + + + type + alfred.workflow.input.scriptfilter + uid + F6F9BD70-3218-4D80-A4D2-63C6A77142CA + version + 3 + + + config + + autopaste + + clipboardtext + {query} + ignoredynamicplaceholders + + transient + + + type + alfred.workflow.output.clipboard + uid + D6793604-058B-4867-A1EA-BF8C2B8B3733 + version + 3 + + + readme + + uidata + + B1E797A8-B1C1-4A07-A340-67D2AC741B3C + + xpos + 285 + ypos + 220 + + D6793604-058B-4867-A1EA-BF8C2B8B3733 + + xpos + 290 + ypos + 365 + + F6F9BD70-3218-4D80-A4D2-63C6A77142CA + + xpos + 55 + ypos + 220 + + + variablesdontexport + + version + 1.0.0 + webaddress + https://github.com/techouse + + diff --git a/pubspec.yaml b/pubspec.yaml index 34ea37b..301010e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: alfred_gitmoji -description: Search for gitmoji and copy them to the clipboard easily. +description: Search for gitmojis and copy them to the clipboard easily. # Prevent accidental publishing to pub.dev. publish_to: 'none'