bundleid com.github.denisidoro.navi category Tools connections 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 destinationuid 98658166-32FC-4F9D-8247-52BEDE6394EE modifiers 0 modifiersubtext vitoclose 55C46852-4807-4374-95AB-CC055F4ECB7C destinationuid 7DD3BDE5-A157-42E5-9376-F681FB50A4EE modifiers 0 modifiersubtext vitoclose 706751F1-C904-448E-84C5-0DF7DBE26AE1 destinationuid 529BC67C-C77D-41CA-B095-996CC1317556 modifiers 0 modifiersubtext sourceoutputuid F78DD511-9EC2-4272-8946-C6E3E269DE2E vitoclose destinationuid 529BC67C-C77D-41CA-B095-996CC1317556 modifiers 0 modifiersubtext sourceoutputuid 4F6E003F-FB02-4432-B025-249F22385B86 vitoclose destinationuid 5E378616-C00A-4608-9313-8D7DCF421BC5 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 B55D209F-7FF3-4C23-AA39-BA8E37B91452 destinationuid 93437EDA-0308-467D-BE3F-6855C638D49D modifiers 0 modifiersubtext sourceoutputuid F78DD511-9EC2-4272-8946-C6E3E269DE2E vitoclose destinationuid 706751F1-C904-448E-84C5-0DF7DBE26AE1 modifiers 0 modifiersubtext vitoclose F05BFEA8-AEE7-486A-9A54-B3162A233BAC destinationuid 7DD3BDE5-A157-42E5-9376-F681FB50A4EE 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 alfred.bash subtext title navi type 8 withspace type alfred.workflow.input.scriptfilter uid 7DD3BDE5-A157-42E5-9376-F681FB50A4EE version 3 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 {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 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 action 0 argument 0 focusedappvariable focusedappvariablename hotkey 6 hotmod 1966080 hotstring Z leftcursor modsmode 0 relatedAppsMode 0 type alfred.workflow.trigger.hotkey uid F05BFEA8-AEE7-486A-9A54-B3162A233BAC version 2 config conditions inputstring {var:snippet} matchcasesensitive matchmode 4 matchstring url::open outputlabel url::open uid F78DD511-9EC2-4272-8946-C6E3E269DE2E inputstring {var:snippet} matchcasesensitive matchmode 4 matchstring osascript outputlabel osascript uid 4F6E003F-FB02-4432-B025-249F22385B86 elselabel else type alfred.workflow.utility.conditional uid 706751F1-C904-448E-84C5-0DF7DBE26AE1 version 1 config escaping 0 script {var:snippet} type alfred.workflow.action.terminalcommand uid 5E378616-C00A-4608-9313-8D7DCF421BC5 version 1 readme uidata 3CE4BEC1-BEBE-4A11-B182-E63693AE2FE6 xpos 355 ypos 170 529BC67C-C77D-41CA-B095-996CC1317556 xpos 985 ypos 300 55C46852-4807-4374-95AB-CC055F4ECB7C xpos 10 ypos 170 5E378616-C00A-4608-9313-8D7DCF421BC5 xpos 985 ypos 430 706751F1-C904-448E-84C5-0DF7DBE26AE1 xpos 825 ypos 315 7DD3BDE5-A157-42E5-9376-F681FB50A4EE xpos 175 ypos 170 93437EDA-0308-467D-BE3F-6855C638D49D xpos 815 ypos 75 98658166-32FC-4F9D-8247-52BEDE6394EE xpos 535 ypos 200 B55D209F-7FF3-4C23-AA39-BA8E37B91452 xpos 640 ypos 190 F05BFEA8-AEE7-486A-9A54-B3162A233BAC xpos 10 ypos 310 variablesdontexport version 0.1.0 webaddress https://github.com/denisidoro