Update global keybinds examples (#916)

Add a valid window parameter to the out-of-date examples.
This commit is contained in:
ThomChroma 2024-12-29 12:16:59 +01:00 committed by GitHub
parent f5486a4995
commit a44a30729e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -304,7 +304,7 @@ Let's take OBS as an example: the "Start/Stop Recording" keybind is set to
add add
```ini ```ini
bind = SUPER, F10, pass, ^(com\.obsproject\.Studio)$ bind = SUPER, F10, pass, class:^(com\.obsproject\.Studio)$
``` ```
to your config and you're done. to your config and you're done.
@ -313,7 +313,7 @@ to your config and you're done.
This also means that push-to-talk will work flawlessly with one pass, e.g.: This also means that push-to-talk will work flawlessly with one pass, e.g.:
```ini ```ini
bind = , mouse:276, pass, ^(TeamSpeak 3)$ bind = , mouse:276, pass, class:^(TeamSpeak 3)$
``` ```
Will pass MOUSE5 to TeamSpeak3. Will pass MOUSE5 to TeamSpeak3.
@ -321,7 +321,7 @@ Will pass MOUSE5 to TeamSpeak3.
You may also add shortcuts, where other keys are passed to the window. You may also add shortcuts, where other keys are passed to the window.
```ini ```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 Will send <key>SUPER</key> + <key>F4</key> to OBS if you press