Home

Awesome

Py3 Default Browser

This Alfred workflow makes it simple to change your default browser on macOS.

Download latest version

<img src=".images/Example.png" alt="Screenshot of Alfred Workflow in action" width="623" height="305"/>

GitHub Workflow Status Dependabot Alfred Workflow Python 3 Built using PyCharm code style black GitHub release (latest SemVer) GitHub downloads all releases GitHub stars GitHub license

Installation

To install this workflow you just have to download and open the .alfredworkflow file from the latest release here. The Alfred website's Help section has more information about Workflows here. Workflows are a paid feature of Alfred which require the Alfred Powerpack.

Usage

The default shortcut is db and you can then pick a browser from the list of available options. macOS requires you to confirm the change in a pop up dialog. For example:

<img src=".images/Browser Confirmation.png" alt="Screenshot of the macOS confirmation dialog" width="372" height="392"/>

Changing the Alfred keyword

  1. Open Alfred Preferences and go to 'Workflows' > 'Py3 Default Browser'.
  2. Double click on the Script Filter component.
<img src=".images/Script Filter.png" alt="Screenshot of the Script Filter" width="149" height="212"/>
  1. Change the keyword field to your new chosen keyword (you can leave all other fields the same) and then click 'Save'.

Support

If you have any questions or feature requests then please file an Issue on GitHub or reach out to me on Twitter, @w_morland.

Dependencies

To build the workflow locally from source you must run /usr/bin/python3 -m pip install --target=./lib -r requirements.txt as the script expects the dependencies to be placed in a local folder.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Acknowledgements

Thanks to:

Security

License

MIT