Set of rules to decide which browser to use to launch a url
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
IamTheFij 1e9b9d9685 Update and refactor 2 months ago
.gitignore Working Python and Go versions 1 year ago
LICENSE Update LICENSE 6 months ago
Makefile Working Python and Go versions 1 year ago
README.md Update and refactor 2 months ago
browserRuler.desktop Working Python and Go versions 1 year ago
browser_ruler.py Working Python and Go versions 1 year ago
browsers.go Update and refactor 2 months ago
config.go Working Python and Go versions 1 year ago
go.mod Update and refactor 2 months ago
main.go Update and refactor 2 months ago
rules.go Update and refactor 2 months ago

README.md

browser-ruler

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.

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.

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