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 destinationuid BD60B64B-EC93-467E-AEC2-0489A3090113 modifiers 0 modifiersubtext vitoclose 446FD3F8-2027-45CA-A156-A7F2C2B2C501 destinationuid C49EE1A3-92A1-4734-9B4F-E399299197AA modifiers 0 modifiersubtext vitoclose 55C46852-4807-4374-95AB-CC055F4ECB7C destinationuid E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 modifiers 0 modifiersubtext vitoclose 7BBCBB25-8B82-40B8-BA37-B0C3894AFA98 destinationuid 282E2B68-29A1-4EF0-B328-2BE38CBF67F0 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 446FD3F8-2027-45CA-A156-A7F2C2B2C501 modifiers 0 modifiersubtext vitoclose C49EE1A3-92A1-4734-9B4F-E399299197AA destinationuid 7BBCBB25-8B82-40B8-BA37-B0C3894AFA98 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 2 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 argument variables type alfred.workflow.utility.argument uid EB668A02-2BBA-4539-B4C0-20F2498ECD71 version 1 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 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 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 matchmode 0 matchstring replacestring " type alfred.workflow.utility.replace uid C49EE1A3-92A1-4734-9B4F-E399299197AA version 2 config argument variables snippet {query} type alfred.workflow.utility.argument uid 7BBCBB25-8B82-40B8-BA37-B0C3894AFA98 version 1 config argument {var:snippet} variables type alfred.workflow.utility.argument uid 446FD3F8-2027-45CA-A156-A7F2C2B2C501 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 argument '{query}', {allvars} cleardebuggertext processoutputs type alfred.workflow.utility.debug uid BD60B64B-EC93-467E-AEC2-0489A3090113 version 1 config concurrently escaping 0 script source "${HOME}/.bashrc" export PATH="/usr/local/bin:$PATH" 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 1445 ypos 255 2B0EE026-57A9-4097-ACE7-FE4E78F20EC0 xpos 370 ypos 170 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 xpos 820 ypos 165 446FD3F8-2027-45CA-A156-A7F2C2B2C501 xpos 1225 ypos 285 529BC67C-C77D-41CA-B095-996CC1317556 xpos 1720 ypos 340 55C46852-4807-4374-95AB-CC055F4ECB7C xpos 10 ypos 165 5E378616-C00A-4608-9313-8D7DCF421BC5 xpos 1715 ypos 220 7BBCBB25-8B82-40B8-BA37-B0C3894AFA98 xpos 1370 ypos 285 7DD3BDE5-A157-42E5-9376-F681FB50A4EE xpos 605 ypos 80 93437EDA-0308-467D-BE3F-6855C638D49D xpos 1225 ypos 60 98658166-32FC-4F9D-8247-52BEDE6394EE xpos 985 ypos 195 ABA74294-992D-4528-A609-964B0ACA9346 xpos 1590 ypos 275 B3B967BC-EC30-47DE-B233-2F3F97568857 xpos 600 ypos 350 B55D209F-7FF3-4C23-AA39-BA8E37B91452 xpos 1055 ypos 185 BD60B64B-EC93-467E-AEC2-0489A3090113 xpos 1010 ypos 340 C49EE1A3-92A1-4734-9B4F-E399299197AA xpos 1295 ypos 285 E8FC4B20-3DD5-4684-97C0-FBBC2FC1AD45 xpos 210 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