diff --git a/set-default-browser-alfred-workflow.alfredworkflow b/set-default-browser-alfred-workflow.alfredworkflow index 575dbef..39a0661 100644 Binary files a/set-default-browser-alfred-workflow.alfredworkflow and b/set-default-browser-alfred-workflow.alfredworkflow differ diff --git a/workflow/images/canary.png b/workflow/images/canary.png index 954b9db..3e7ef2c 100644 Binary files a/workflow/images/canary.png and b/workflow/images/canary.png differ diff --git a/workflow/images/chrome.png b/workflow/images/chrome.png index 40b579b..856d80a 100644 Binary files a/workflow/images/chrome.png and b/workflow/images/chrome.png differ diff --git a/workflow/images/firefox.png b/workflow/images/firefox.png index 5be2db9..1a6967c 100644 Binary files a/workflow/images/firefox.png and b/workflow/images/firefox.png differ diff --git a/workflow/images/nightly.png b/workflow/images/nightly.png new file mode 100644 index 0000000..4401188 Binary files /dev/null and b/workflow/images/nightly.png differ diff --git a/workflow/images/safari.png b/workflow/images/safari.png index 7939258..2aa575e 100644 Binary files a/workflow/images/safari.png and b/workflow/images/safari.png differ diff --git a/workflow/images/safaritechnologypreview.png b/workflow/images/safaritechnologypreview.png new file mode 100644 index 0000000..79e5c87 Binary files /dev/null and b/workflow/images/safaritechnologypreview.png differ diff --git a/workflow/info.plist b/workflow/info.plist index f3e2491..f01ba36 100644 --- a/workflow/info.plist +++ b/workflow/info.plist @@ -5,7 +5,7 @@ bundleid com.stuartryan.alfred.defaultbrowser category - Tools + Productivity connections 3DDE09C2-6114-4192-82D8-25CBF2458817 @@ -17,6 +17,8 @@ 0 modifiersubtext + vitoclose + 3FE887BF-1B3D-4893-86D1-148BB13B36BB @@ -28,6 +30,8 @@ 0 modifiersubtext + vitoclose + 9B6DE659-1536-4223-A452-6F2BDCE0660A @@ -39,6 +43,8 @@ 0 modifiersubtext + vitoclose + 9DB33F40-65B0-40FF-A557-427ED6681A23 @@ -50,6 +56,8 @@ 0 modifiersubtext + vitoclose + CB8AB408-8614-49CA-851D-413CFA7F917E @@ -61,6 +69,8 @@ 0 modifiersubtext + vitoclose + @@ -80,7 +90,9 @@ action 0 argument - 0 + 3 + argumenttext + safariTechnologyPreview hotkey 0 hotmod @@ -99,7 +111,7 @@ uid CB8AB408-8614-49CA-851D-413CFA7F917E version - 1 + 2 config @@ -120,6 +132,10 @@ elif [ "{query}" != "NOTFOUND" ]; then fi + scriptargtype + 0 + scriptfile + type 0 @@ -128,11 +144,13 @@ fi uid 3FE887BF-1B3D-4893-86D1-148BB13B36BB version - 0 + 2 config + alfredfiltersresults + argumenttype 1 escaping @@ -147,6 +165,8 @@ fi 0 queuemode 1 + runningsubtext + script use strict; use warnings; @@ -161,7 +181,7 @@ chomp @currentBrowser; my %currentBrowserHash; $currentBrowserHash{$_}++ for (@currentBrowser); -my @supportedBrowsers = ("Chrome","Firefox","Safari","Canary","Opera","Chromium","SeaMonkey","FirefoxDeveloperEdition","Webkit"); +my @supportedBrowsers = ("Chrome","Firefox","Safari","Canary","Opera","Chromium","FirefoxDeveloperEdition", "SeaMonkey","Webkit","SafariTechnologyPreview","Nightly"); my $idCounter = 1; my $foundBrowser = 0; @@ -205,6 +225,12 @@ if ("{query}" ne ""){ } } print "</items>\n"; + scriptargtype + 0 + scriptfile + + subtext + title Set Default Browser type @@ -217,7 +243,7 @@ print "</items>\n"; uid 3DDE09C2-6114-4192-82D8-25CBF2458817 version - 0 + 2 config @@ -226,12 +252,10 @@ print "</items>\n"; onlyshowifquerypopulated - output - 0 removeextension - sticky - + text + title {query} @@ -240,7 +264,7 @@ print "</items>\n"; uid 58518835-C5ED-4C48-8A72-B7BD5D924C1C version - 0 + 1 config @@ -255,8 +279,6 @@ print "</items>\n"; 0 hotmod 0 - hotstring - leftcursor modsmode @@ -269,7 +291,7 @@ print "</items>\n"; uid 9DB33F40-65B0-40FF-A557-427ED6681A23 version - 1 + 2 config @@ -284,8 +306,6 @@ print "</items>\n"; 0 hotmod 0 - hotstring - leftcursor modsmode @@ -298,7 +318,7 @@ print "</items>\n"; uid 9B6DE659-1536-4223-A452-6F2BDCE0660A version - 1 + 2 readme @@ -321,31 +341,43 @@ The workflow logo has been licensed from DepositPhotos to Stuart Ryan. 3DDE09C2-6114-4192-82D8-25CBF2458817 + xpos + 300 ypos 130 3FE887BF-1B3D-4893-86D1-148BB13B36BB + xpos + 500 ypos 130 58518835-C5ED-4C48-8A72-B7BD5D924C1C + xpos + 700 ypos 130 9B6DE659-1536-4223-A452-6F2BDCE0660A + xpos + 100 ypos 300 9DB33F40-65B0-40FF-A557-427ED6681A23 + xpos + 100 ypos 190 CB8AB408-8614-49CA-851D-413CFA7F917E + xpos + 100 ypos 80