Skip to content

Instantly share code, notes, and snippets.

@nwg-piotr
Last active June 11, 2018 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nwg-piotr/d357206b3779362797e9c43879f38615 to your computer and use it in GitHub Desktop.
Save nwg-piotr/d357206b3779362797e9c43879f38615 to your computer and use it in GitHub Desktop.
Insert this xml into the <keyboard></keyboard> section of your rc.xml file.
<keybind key="XF86MonBrightnessDown">
<action name="Execute">
<command>obhud --brightness down</command>
</action>
</keybind>
<keybind key="XF86MonBrightnessUp">
<action name="Execute">
<command>obhud --brightness up</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>obhud --volume up</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>obhud --volume down</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>obhud --volume toggle</command>
</action>
</keybind>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment