Metadata-Version: 2.1
Name: linkwiz
Version: 0.3.0
Summary: LinkWiz is a Linux tool that lets users select their preferred browser for opening links.
Author-Email: Rin <icealtria+github@gmail.com>
License: GPL-2.0-only
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Project-URL: Repository, https://github.com/icealtria/linkwiz
Requires-Python: <4.0,>=3.12
Requires-Dist: pyxdg<1.0,>=0.28
Requires-Dist: tomli-w<2.0.0,>=1.0.0
Requires-Dist: unalix-rev<1.0.0,>=0.9.1
Description-Content-Type: text/markdown

# LinkWiz

LinkWiz is a Linux tool that lets users select their preferred browser for opening links.

![Screenshot](https://raw.githubusercontent.com/icealtria/linkwiz/assets/Screenshot.webp)

## Installation
### Arch
```
paru -S linkwiz
```
### pipx
```
pipx install linkwiz
linkwiz install
```

Set LinkWiz as default browser
## Configuration

You can configure LinkWiz by modifying the `linkwiz.toml` file, which is created in the `~/.config/linkwiz/linkwiz.toml` on the first run. You can add rules to specify which browser to use for specific domains.

Example `linkwiz.toml`:
```toml
[browsers] # Custom Browsers
"Firefox Private" = "/usr/bin/firefox-developer-edition --private-window"
"Brave Private" = "/usr/bin/brave --incognito"

[rules.fnmatch]
"*.cn" = "Brave Private"
"*.google.com" = "Google Chrome" # This will not match "google.com"

[rules.hostname]
"example.com" = "Brave Private"
"github.com" = "Firefox Developer Edition"
"google.com" = "Google Chrome"
```
## TODO
- [ ] Windows Support
- [ ] RIIR