diff --git a/Alfred.alfredpreferences/preferences/workflows/prefs.plist b/Alfred.alfredpreferences/preferences/workflows/prefs.plist new file mode 100644 index 0000000..13875d9 --- /dev/null +++ b/Alfred.alfredpreferences/preferences/workflows/prefs.plist @@ -0,0 +1,8 @@ + + + + + showAlignmentGuides + + + diff --git a/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/98E2E165-F282-4876-AFF5-CD0DE474E024.png b/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/98E2E165-F282-4876-AFF5-CD0DE474E024.png index a735969..cf3b2f6 100644 Binary files a/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/98E2E165-F282-4876-AFF5-CD0DE474E024.png and b/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/98E2E165-F282-4876-AFF5-CD0DE474E024.png differ diff --git a/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/icon.png b/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/icon.png index a735969..cf3b2f6 100644 Binary files a/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/icon.png and b/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/icon.png differ diff --git a/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/info.plist b/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/info.plist index 480186e..493798c 100644 --- a/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/info.plist +++ b/Alfred.alfredpreferences/workflows/user.workflow.A95313FB-58AA-4D06-BBFC-524DCC42040F/info.plist @@ -3,14 +3,193 @@ bundleid - + com.aribtrarydefinitions.openinbrowser + category + Internet connections + 1321D9F3-D897-44DC-BC6E-E01FB1304925 + + + destinationuid + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 220A3302-AC8B-456F-B181-EB6D20227FAD + + + destinationuid + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 30436B39-AC9B-49B1-85A2-6F0574BCA081 + + + destinationuid + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 57787536-2F49-40B1-A9BD-DA657B3BA5B4 + + + destinationuid + 95C2F736-8349-4A86-A264-A49F1B5CF664 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 620103E3-E75D-40A8-A685-EF786B0EB5C5 + + + destinationuid + 33048D95-C067-4DAA-892F-8F8E23FF84D8 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 + + + destinationuid + 768DCDCD-2542-4E12-A547-68B9332111BD + modifiers + 0 + modifiersubtext + + vitoclose + + + + destinationuid + 57787536-2F49-40B1-A9BD-DA657B3BA5B4 + modifiers + 0 + modifiersubtext + + vitoclose + + + + destinationuid + 620103E3-E75D-40A8-A685-EF786B0EB5C5 + modifiers + 0 + modifiersubtext + + vitoclose + + + + destinationuid + E5252AD2-EE3D-4457-BF33-952BE5892DD4 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 768DCDCD-2542-4E12-A547-68B9332111BD + + + destinationuid + 1834C066-2588-468B-AC6A-8ABC71ED43BE + modifiers + 0 + modifiersubtext + + vitoclose + + + 98E2E165-F282-4876-AFF5-CD0DE474E024 destinationuid - 24E5AD4A-C4E8-43EA-8FBF-47621D8A8829 + 30436B39-AC9B-49B1-85A2-6F0574BCA081 + modifiers + 0 + modifiersubtext + + vitoclose + + + + destinationuid + 220A3302-AC8B-456F-B181-EB6D20227FAD + modifiers + 262144 + modifiersubtext + Chrome + vitoclose + + + + destinationuid + 1321D9F3-D897-44DC-BC6E-E01FB1304925 + modifiers + 524288 + modifiersubtext + Firefox + vitoclose + + + + destinationuid + 9E52CEE5-3CED-4C0E-9370-B6E4BA9860D9 + modifiers + 1048576 + modifiersubtext + Safari + vitoclose + + + + 9E52CEE5-3CED-4C0E-9370-B6E4BA9860D9 + + + destinationuid + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 + modifiers + 0 + modifiersubtext + + vitoclose + + + + E5252AD2-EE3D-4457-BF33-952BE5892DD4 + + + destinationuid + A4ABEB7A-F7F4-4318-B7D2-6A9CA5ED9DC9 modifiers 0 modifiersubtext @@ -27,20 +206,132 @@ disabled name - Open in Chrome + Open in Browser objects + + config + + browser + + spaces + + url + {query} + utf8 + + + type + alfred.workflow.action.openurl + uid + 1834C066-2588-468B-AC6A-8ABC71ED43BE + version + 1 + + + config + + inputstring + {var:browser} + matchcasesensitive + + matchmode + 0 + matchstring + default + + type + alfred.workflow.utility.filter + uid + 768DCDCD-2542-4E12-A547-68B9332111BD + version + 1 + + + config + + argument + {query} + variables + + browser + default + + + type + alfred.workflow.utility.argument + uid + 30436B39-AC9B-49B1-85A2-6F0574BCA081 + version + 1 + + + config + + browser + com.google.chrome + spaces + + url + {query} + utf8 + + + type + alfred.workflow.action.openurl + uid + 95C2F736-8349-4A86-A264-A49F1B5CF664 + version + 1 + + + config + + inputstring + {var:browser} + matchcasesensitive + + matchmode + 0 + matchstring + chrome + + type + alfred.workflow.utility.filter + uid + 57787536-2F49-40B1-A9BD-DA657B3BA5B4 + version + 1 + + + config + + argument + + variables + + browser + chrome + + + type + alfred.workflow.utility.argument + uid + 220A3302-AC8B-456F-B181-EB6D20227FAD + version + 1 + config argumenttype 1 keyword - c + b subtext - + Default text - Open in Chrome + Open in Browser withspace @@ -57,14 +348,14 @@ concurrently escaping - 63 + 102 script - url = ARGV.first || `pbpaste`.chomp -# url = `pbpaste`.chomp if url.nil? || url.empty? + url = ARGV.first +url = `pbpaste`.chomp if url.empty? url = "http://#{url}" unless url =~ %r|^[\w]+://| -`open -a "Google Chrome" "#{url}"` +print url scriptargtype - 0 + 1 scriptfile type @@ -73,60 +364,232 @@ url = "http://#{url}" unless url =~ %r|^[\w]+://| type alfred.workflow.action.script uid - 24E5AD4A-C4E8-43EA-8FBF-47621D8A8829 + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 version 2 config - action - 0 + browser + org.mozilla.firefox + spaces + + url + {query} + utf8 + + + type + alfred.workflow.action.openurl + uid + 33048D95-C067-4DAA-892F-8F8E23FF84D8 + version + 1 + + + config + argument + + variables + + browser + firefox + + + type + alfred.workflow.utility.argument + uid + 1321D9F3-D897-44DC-BC6E-E01FB1304925 + version + 1 + + + config + + inputstring + {var:browser} + matchcasesensitive + + matchmode 0 - hotkey - 0 - hotmod - 0 - leftcursor - - modsmode - 0 - relatedAppsMode + matchstring + firefox + + type + alfred.workflow.utility.filter + uid + 620103E3-E75D-40A8-A685-EF786B0EB5C5 + version + 1 + + + config + + argument + + variables + + browser + safari + + + type + alfred.workflow.utility.argument + uid + 9E52CEE5-3CED-4C0E-9370-B6E4BA9860D9 + version + 1 + + + config + + browser + com.apple.Safari + spaces + + url + {query} + utf8 + + + type + alfred.workflow.action.openurl + uid + A4ABEB7A-F7F4-4318-B7D2-6A9CA5ED9DC9 + version + 1 + + + config + + inputstring + {var:browser} + matchcasesensitive + + matchmode 0 + matchstring + safari type - alfred.workflow.trigger.hotkey + alfred.workflow.utility.filter uid - 2A1B5013-DD20-447C-9FF5-97A1F4B6D1C6 + E5252AD2-EE3D-4457-BF33-952BE5892DD4 version - 2 + 1 readme uidata - 24E5AD4A-C4E8-43EA-8FBF-47621D8A8829 + 1321D9F3-D897-44DC-BC6E-E01FB1304925 + + note + Firefox + xpos + 310 + ypos + 270 + + 1834C066-2588-468B-AC6A-8ABC71ED43BE xpos - 500 + 830 ypos - 10 + 20 - 2A1B5013-DD20-447C-9FF5-97A1F4B6D1C6 + 220A3302-AC8B-456F-B181-EB6D20227FAD + note + Chrome xpos - 240 + 310 ypos - 120 + 180 + + 30436B39-AC9B-49B1-85A2-6F0574BCA081 + + note + Default + xpos + 310 + ypos + 90 + + 33048D95-C067-4DAA-892F-8F8E23FF84D8 + + xpos + 830 + ypos + 260 + + 57787536-2F49-40B1-A9BD-DA657B3BA5B4 + + xpos + 730 + ypos + 170 + + 620103E3-E75D-40A8-A685-EF786B0EB5C5 + + xpos + 730 + ypos + 290 + + 75FB0C05-5AF8-4881-A885-6CAF3D7E1AD0 + + xpos + 480 + ypos + 200 + + 768DCDCD-2542-4E12-A547-68B9332111BD + + xpos + 730 + ypos + 50 + + 95C2F736-8349-4A86-A264-A49F1B5CF664 + + xpos + 830 + ypos + 140 98E2E165-F282-4876-AFF5-CD0DE474E024 xpos - 240 + 40 + ypos + 200 + + 9E52CEE5-3CED-4C0E-9370-B6E4BA9860D9 + + note + Safari + xpos + 310 + ypos + 360 + + A4ABEB7A-F7F4-4318-B7D2-6A9CA5ED9DC9 + + xpos + 830 + ypos + 390 + + E5252AD2-EE3D-4457-BF33-952BE5892DD4 + + xpos + 730 ypos - 10 + 420 webaddress