Crates.io | choosy |
lib.rs | choosy |
version | 0.1.2 |
source | src |
created_at | 2024-09-14 22:04:13.043618 |
updated_at | 2024-09-14 22:29:37.99949 |
description | Choosy program that launches other programs depending on its arguments |
homepage | |
repository | https://github.com/connorworley/choosy |
max_upload_size | |
id | 1375077 |
size | 13,130 |
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.
cargo install choosy
Make sure to set it as your default browser.
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'] }