Skip to content

Commit

Permalink
Example Volume Media Key Binds (#470)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ethangamma24 authored Feb 13, 2024
1 parent 85838d2 commit ddeb745
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pages/Configuring/Binds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

1 comment on commit ddeb745

@reavessm
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Please sign in to comment.