browser-ruler/README.md

21 lines
722 B
Markdown
Raw Permalink Normal View History

2020-11-26 16:00:26 +00:00
# browser-ruler
2020-11-26 16:03:23 +00:00
A small program that allows writing rules to determine which browser to lauch based on the URL
This is tested on an Ubuntu system but should work on anything that supports xdg
## Configuration
There is no configuration, persay. Intead, the code must be updated.
2021-09-28 23:21:56 +00:00
Edit `rules.go` and edit the list of `BrowserRules` in a similar fashion as the example and then run `make install` again.
You can use any rule functions found in `main.go` and any browsers found in `browsers.go`.
2020-11-26 16:03:23 +00:00
There is also a Python version as `browser_ruler.py`. To use that instead, you can edit that and then update the Makefile to make the `BIN` variable `BIN = browser_ruler.py`.
## Installation
make install set-default