bundleid com.github.denisidoro.navi category Tools connections 083DDA39-DE4E-4EB4-9781-CDC89F766CBC destinationuid B3B967BC-EC30-47DE-B233-2F3F97568857 modifiers 0 modifiersubtext vitoclose 2480F455-3F7F-4BE2-A268-698C5DB28761 destinationuid 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 modifiers 0 modifiersubtext vitoclose 282E2B68-29A1-4EF0-B328-2BE38CBF67F0 destinationuid ABA74294-992D-4528-A609-964B0ACA9346 modifiers 0 modifiersubtext vitoclose 2B0EE026-57A9-4097-ACE7-FE4E78F20EC0 destinationuid EB668A02-2BBA-4539-B4C0-20F2498ECD71 modifiers 0 modifiersubtext sourceoutputuid 4F6E003F-FB02-4432-B025-249F22385B86 vitoclose destinationuid EB668A02-2BBA-4539-B4C0-20F2498ECD71 modifiers 0 modifiersubtext sourceoutputuid F78DD511-9EC2-4272-8946-C6E3E269DE2E vitoclose destinationuid 083DDA39-DE4E-4EB4-9781-CDC89F766CBC modifiers 0 modifiersubtext vitoclose 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 destinationuid 98658166-32FC-4F9D-8247-52BEDE6394EE modifiers 0 modifiersubtext vitoclose 55C46852-4807-4374-95AB-CC055F4ECB7C destinationuid E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 modifiers 0 modifiersubtext vitoclose 7DD3BDE5-A157-42E5-9376-F681FB50A4EE destinationuid 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 modifiers 0 modifiersubtext vitoclose 98658166-32FC-4F9D-8247-52BEDE6394EE destinationuid B55D209F-7FF3-4C23-AA39-BA8E37B91452 modifiers 0 modifiersubtext vitoclose ABA74294-992D-4528-A609-964B0ACA9346 destinationuid 5E378616-C00A-4608-9313-8D7DCF421BC5 modifiers 0 modifiersubtext sourceoutputuid F78DD511-9EC2-4272-8946-C6E3E269DE2E vitoclose destinationuid 529BC67C-C77D-41CA-B095-996CC1317556 modifiers 0 modifiersubtext vitoclose B3B967BC-EC30-47DE-B233-2F3F97568857 destinationuid 2480F455-3F7F-4BE2-A268-698C5DB28761 modifiers 0 modifiersubtext vitoclose B55D209F-7FF3-4C23-AA39-BA8E37B91452 destinationuid 93437EDA-0308-467D-BE3F-6855C638D49D modifiers 0 modifiersubtext sourceoutputuid F78DD511-9EC2-4272-8946-C6E3E269DE2E vitoclose destinationuid 282E2B68-29A1-4EF0-B328-2BE38CBF67F0 modifiers 0 modifiersubtext vitoclose E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 destinationuid 2B0EE026-57A9-4097-ACE7-FE4E78F20EC0 modifiers 0 modifiersubtext vitoclose EB668A02-2BBA-4539-B4C0-20F2498ECD71 destinationuid 7DD3BDE5-A157-42E5-9376-F681FB50A4EE modifiers 0 modifiersubtext vitoclose F05BFEA8-AEE7-486A-9A54-B3162A233BAC destinationuid E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 modifiers 0 modifiersubtext vitoclose createdby Denis Isidoro description Integration with navi, the interactive cheatsheet tool for the command-line disabled name navi objects config externaltriggerid play passinputasargument passvariables workflowbundleid self type alfred.workflow.output.callexternaltrigger uid 93437EDA-0308-467D-BE3F-6855C638D49D version 1 config alfredfiltersresults alfredfiltersresultsmatchmode 0 argumenttreatemptyqueryasnil argumenttrimmode 0 argumenttype 1 escaping 102 keyword n queuedelaycustom 3 queuedelayimmediatelyinitially queuedelaymode 0 queuemode 1 runningsubtext Generating results... script #!/bin/bash # # Alfred Script Filter JSON format # # This example demonstrates all fields available for populating results. # # For an in-depth explanation, use the (?) help button to the bottom left. # _print_snippets() { IFS=$'\n' items="{\"items\": [" uid="$RANDOM" snippets="$(cat uber.cheat | grep '^#' | sed 's/^# //')" for line in $snippets; do # title="$(echo "$line" | tr -d '"')" title="$(echo "$line" | tr -d '"')" uid="$title" item=$(cat <<EOF { "uid": "$uid", "type": "file", "title": "$title", "subtitle": "subtitle", "arg": "echo <foo> <bar>", "autocomplete": "Desktop", "icon": { "type": "fileicon", "path": "~/Desktop" } }, EOF ) items="$items $item" done echo "${items%?} ]}" } _interpolate() { snippet="$1" IFS=$'\n' items="{\"items\": [" uid="$RANDOM" snippets="foo bar" for line in $snippets; do # title="$(echo "$line" | tr -d '"')" title="$(echo "$line" | tr -d '"')" uid="$title" item=$(cat <<EOF { "uid": "$uid", "type": "file", "title": "lorem", "subtitle": "subtitle", "arg": "ipsum", "autocomplete": "Desktop", "icon": { "type": "fileicon", "path": "~/Desktop" } }, EOF ) items="$items $item" done echo "${items%?} ]}" } if [ -n "${snippet:-} "]; then _interpolate "$snippet" elif [ -n "${query:-} "]; then _interpolate "$query" else _print_snippets fi scriptargtype 1 scriptfile alfred1.bash subtext title navi type 8 withspace type alfred.workflow.input.scriptfilter uid 7DD3BDE5-A157-42E5-9376-F681FB50A4EE version 3 config concurrently escaping 102 script echo asdsds scriptargtype 1 scriptfile alfred2.bash type 8 type alfred.workflow.action.script uid 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 version 2 config concurrently escaping 102 script echo asdsds scriptargtype 1 scriptfile alfred0.bash type 8 type alfred.workflow.action.script uid E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 version 2 config triggerid play type alfred.workflow.trigger.external uid 55C46852-4807-4374-95AB-CC055F4ECB7C version 1 config argument variables type alfred.workflow.utility.argument uid EB668A02-2BBA-4539-B4C0-20F2498ECD71 version 1 config conditions inputstring {query} matchcasesensitive matchmode 0 matchstring __start outputlabel start uid F78DD511-9EC2-4272-8946-C6E3E269DE2E inputstring {query} matchcasesensitive matchmode 0 matchstring outputlabel suggestion uid 4F6E003F-FB02-4432-B025-249F22385B86 elselabel free input type alfred.workflow.utility.conditional uid 2B0EE026-57A9-4097-ACE7-FE4E78F20EC0 version 1 config conditions inputstring {var:snippet} matchcasesensitive matchmode 4 matchstring <[\w\d_\-]+> outputlabel variable left uid F78DD511-9EC2-4272-8946-C6E3E269DE2E elselabel no variables type alfred.workflow.utility.conditional uid B55D209F-7FF3-4C23-AA39-BA8E37B91452 version 1 config argument variables snippet {query} type alfred.workflow.utility.argument uid 98658166-32FC-4F9D-8247-52BEDE6394EE version 1 config escaping 0 script {var:snippet} type alfred.workflow.action.terminalcommand uid 5E378616-C00A-4608-9313-8D7DCF421BC5 version 1 config concurrently escaping 102 script echo asdsds scriptargtype 1 scriptfile alfred3.bash type 8 type alfred.workflow.action.script uid 282E2B68-29A1-4EF0-B328-2BE38CBF67F0 version 2 config conditions inputstring {query} matchcasesensitive matchmode 0 matchstring terminal outputlabel terminal uid F78DD511-9EC2-4272-8946-C6E3E269DE2E elselabel else type alfred.workflow.utility.conditional uid ABA74294-992D-4528-A609-964B0ACA9346 version 1 config action 0 argument 0 focusedappvariable focusedappvariablename hotkey 51 hotmod 1966080 hotstring leftcursor modsmode 0 relatedAppsMode 0 type alfred.workflow.trigger.hotkey uid F05BFEA8-AEE7-486A-9A54-B3162A233BAC version 2 config concurrently escaping 0 script source $HOME/.bashrc eval "$snippet" scriptargtype 0 scriptfile navi type 0 type alfred.workflow.action.script uid 529BC67C-C77D-41CA-B095-996CC1317556 version 2 config argumenttype 1 subtext {var:snippet} text Input value for <{var:varname}> withspace type alfred.workflow.input.keyword uid B3B967BC-EC30-47DE-B233-2F3F97568857 version 1 config argument variables free {query} type alfred.workflow.utility.argument uid 2480F455-3F7F-4BE2-A268-698C5DB28761 version 1 config argument variables varname {query} type alfred.workflow.utility.argument uid 083DDA39-DE4E-4EB4-9781-CDC89F766CBC version 1 readme uidata 083DDA39-DE4E-4EB4-9781-CDC89F766CBC xpos 520 ypos 380 2480F455-3F7F-4BE2-A268-698C5DB28761 xpos 750 ypos 375 282E2B68-29A1-4EF0-B328-2BE38CBF67F0 xpos 1210 ypos 270 2B0EE026-57A9-4097-ACE7-FE4E78F20EC0 xpos 370 ypos 170 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 xpos 815 ypos 160 529BC67C-C77D-41CA-B095-996CC1317556 xpos 1490 ypos 340 55C46852-4807-4374-95AB-CC055F4ECB7C xpos 10 ypos 165 5E378616-C00A-4608-9313-8D7DCF421BC5 xpos 1485 ypos 205 7DD3BDE5-A157-42E5-9376-F681FB50A4EE xpos 615 ypos 85 93437EDA-0308-467D-BE3F-6855C638D49D xpos 1235 ypos 60 98658166-32FC-4F9D-8247-52BEDE6394EE xpos 980 ypos 190 ABA74294-992D-4528-A609-964B0ACA9346 xpos 1375 ypos 290 B3B967BC-EC30-47DE-B233-2F3F97568857 xpos 595 ypos 350 B55D209F-7FF3-4C23-AA39-BA8E37B91452 xpos 1055 ypos 180 E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 xpos 200 ypos 165 EB668A02-2BBA-4539-B4C0-20F2498ECD71 xpos 525 ypos 165 F05BFEA8-AEE7-486A-9A54-B3162A233BAC xpos 10 ypos 310 variablesdontexport version 0.1.0 webaddress https://github.com/denisidoro