Skip to content

Commit

Permalink
Update global keybinds examples (#916)
Browse files Browse the repository at this point in the history
Add a valid window parameter to the out-of-date examples.
  • Loading branch information
ThomChroma authored Dec 29, 2024
1 parent f5486a4 commit a44a307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/Configuring/Binds.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Let's take OBS as an example: the "Start/Stop Recording" keybind is set to
add

```ini
bind = SUPER, F10, pass, ^(com\.obsproject\.Studio)$
bind = SUPER, F10, pass, class:^(com\.obsproject\.Studio)$
```

to your config and you're done.
Expand All @@ -313,15 +313,15 @@ to your config and you're done.
This also means that push-to-talk will work flawlessly with one pass, e.g.:

```ini
bind = , mouse:276, pass, ^(TeamSpeak 3)$
bind = , mouse:276, pass, class:^(TeamSpeak 3)$
```

Will pass MOUSE5 to TeamSpeak3.

You may also add shortcuts, where other keys are passed to the window.

```ini
bind = SUPER, F10, sendshortcut, SUPER, F4, ^(com\.obsproject\.Studio)$
bind = SUPER, F10, sendshortcut, SUPER, F4, class:^(com\.obsproject\.Studio)$
```

Will send <key>SUPER</key> + <key>F4</key> to OBS if you press
Expand Down

0 comments on commit a44a307

Please sign in to comment.