choosy

Crates.iochoosy
lib.rschoosy
version0.1.2
sourcesrc
created_at2024-09-14 22:04:13.043618
updated_at2024-09-14 22:29:37.99949
descriptionChoosy program that launches other programs depending on its arguments
homepage
repositoryhttps://github.com/connorworley/choosy
max_upload_size
id1375077
size13,130
Connor Worley (connorworley)

documentation

README

choosy

Choosy program that launches other programs depending on its arguments. I wrote it because I use multiple Chrome browser profiles and I want certain links to always open in certain profiles.

Installing

cargo install choosy

Make sure to set it as your default browser.

Configuration

Choosy is configured in ~/.config/choosy.toml.

Choosy maps regexes to commands, along with additional arguments to be passed to the command. The longest match is used to select a program. A default program is required.

Example: always open youtube links with google-chrome --profile-email=bar@example.org

default = { command = 'google-chrome', args = [] }

[overrides]
'^(https?://)?(www\.)?youtube\.com' = { command = 'google-chrome', args = ['--profile-email=bar@example.org'] }
Commit count: 0

cargo fmt