mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
Example Volume Media Key Binds (#470)
* Added example bindings for volume media keys in pages/Configuring/Binds.md in an Examples section at the bottom * Added e flag to raise and lower per Vax's suggestion
This commit is contained in:
parent
85838d2d20
commit
ddeb745c2a
1 changed files with 13 additions and 0 deletions
|
@ -311,3 +311,16 @@ submap=reset
|
|||
|
||||
This works because the binds are executed in the order they appear, and
|
||||
assigning multiple actions per bind is possible.
|
||||
|
||||
# Example Binds
|
||||
|
||||
## Media
|
||||
|
||||
These binds set the expected behavior for regular keyboard media volume keys,
|
||||
including when the screen is locked:
|
||||
|
||||
```ini
|
||||
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue