Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pltanton committed Apr 23, 2024
1 parent a1a5a00 commit cd6991d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ Automatically choosing web-browser depends on environment context rules.
## Example

```
firefox -p job {}:url.regex='.*jira.*';app.class=Slack # Open all jira links from slack with job firefox profile
firefox 'ext+container:name=Isolated&url={}':app.class=org.telegram.desktop # Open all links from the telegram app using Isolated firefox container
work:=firefox -p job {}:url.regex='.*jira.*'
work;app.class=Slack # Open all jira links from slack with job firefox profile
work:app.class=org.telegram.desktop # Open all links from the telegram app using Isolated firefox container
# Default fallback
firefox {}:fallback
Expand All @@ -36,6 +38,8 @@ Browser command is a sequence of words, divided by spaces. The first word is an

You can escape spaces or other _non-word characters_ can be escaped by a single-quote string.

To avoid repeating of same browser command you can user assignment syntax `command_name:=your command {}` for further use.

## Matchers

### fallback
Expand Down Expand Up @@ -80,6 +84,10 @@ Due to stupidity of Gonme shell interface there is no legal way to recieve focus

To be able to use the `app` matcher, please [install the extenions](https://extensions.gnome.org/extension/5592/focused-window-d-bus/), that exposes currently focused window via dbus interface: https://github.com/flexagoon/focused-window-dbus

### Prebuilt packages

You can find `.rpm`, `.deb`, `.apk` and `.zst` packages on the release page.

### Linux manual

```sh
Expand Down

0 comments on commit cd6991d

Please sign in to comment.