/alfred-py3-default-browser

A modern Alfred workflow for switching the default browser on macOS

Primary LanguagePythonMIT LicenseMIT

Py3 Default Browser

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

Download latest version

Screenshot of Alfred Workflow in action

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:

Screenshot of the macOS confirmation dialog

Changing the Alfred keyword

  1. Open Alfred Preferences and go to 'Workflows' > 'Py3 Default Browser'.
  2. Double click on the Script Filter component.

Screenshot of the Script Filter

  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