Browser Dispatcher is a shell script that allows users to open URLs in predefined browsers based on rules specified in a configuration file. It supports dynamic URL matching using YAML configuration.
- Match URLs to specific browsers using simple rules.
- Supports regex for flexible URL matching.
- Bash
- Kislyuk's yq
- Clone the repository
- Put the script somewhere in your
PATH
, e.g.~/.local/bin
- Put the
.desktop
file in~/.local/share/applications
- Execute
xdg-mime default browser-dispatcher x-scheme-handler/http x-scheme-handler/https
- Copy the sample config file to
~/.config/browser-dispatcher/config.yaml
- Modify the config to your preference
- Done
or just run make install
- Delete the files
- Set your default browser back
or just run make uninstall