mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-01-09 17:09:49 +01:00
Update global keybinds examples (#916)
Add a valid window parameter to the out-of-date examples.
This commit is contained in:
parent
f5486a4995
commit
a44a30729e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue