Skip to content

Instantly share code, notes, and snippets.

@nickpelone
Last active January 19, 2022 16:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickpelone/02f834551bf917fc1f5e to your computer and use it in GitHub Desktop.
Save nickpelone/02f834551bf917fc1f5e to your computer and use it in GitHub Desktop.
Volume keys for Openbox rc.xml (~/.config/openbox/rc.xml)
<!---volume keys-->
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer sset Master 2+</execute>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer sset Master 2-</execute>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer sset Master 100-</execute>
</action>
</keybind>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment