Skip to content

Commit

Permalink
Update default-browser-front-most-app - Firefoc dev and SigmaOS (#925)
Browse files Browse the repository at this point in the history
* Update default-browser-front-most-app - Firefoc dev and SigmaOS

Firexfox Developer Edition was not working as chrome dev was catching any browser with dev in the name before it could get to firefox dev, moved firefox dev before chrome to allow both to catch properly.

Added SigmaOS to browser list.

* Update default-browser-front-most-app.applescript to include Arc

As requested, Arc browser has been added to the default-browser-front-most-app.applescript. As an aside could browser manufacturers please stop using unclear browser names. chrome development called just dev, SigmaOS called macos for some reason, and Arc is just calling itself browser...
  • Loading branch information
timothyBoye authored Apr 22, 2024
1 parent 0ef31d1 commit 7035516
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions commands/system/default-browser-front-most-app.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ if (raycastArgv is equal to "") then
set browserName to "safari"
else if (appName is equal to "Safari Technology Preview") then
set browserName to "safaritechnologypreview"
else if (appName contains "Firefox Dev") then
set browserName to "firefoxdeveloperedition"
# set Google chrome dev as default browser
# it need to put before Chrome
else if (appName contains "dev") then
Expand All @@ -48,8 +50,10 @@ if (raycastArgv is equal to "") then
set browserName to "chromium"
else if (appName is equal to "Firefox") then
set browserName to "firefox"
else if (appName is equal to "Firefox Developer Edition") then
set browserName to "firefoxdeveloperedition"
else if (appName is equal to "SigmaOS") then
set browserName to "macos"
else if (appName is equal to "Arc") then
set browserName to "browser"
end if

else
Expand Down

0 comments on commit 7035516

Please sign in to comment.