mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
config: support audio and monitor keys by default
Add default keybinds:
XF86_AudioLowerVolume - amixer sset Master 5%-
XF86_AudioRaiseVolume - amixer sset Master 5%+
XF86_AudioMute - amixer sset Master toggle
XF86_MonBrightnessUp - brightnessctl set +10%
XF86_MonBrightnessDown - brightnessctl set 10%-
This commit is contained in:
parent
5325fca4b4
commit
417763e8f8
3 changed files with 36 additions and 11 deletions
|
|
@ -69,6 +69,21 @@
|
|||
<keybind key="A-Down">
|
||||
<action name="MoveToEdge"><direction>down</direction></action>
|
||||
</keybind>
|
||||
<keybind key="XF86_AudioLowerVolume">
|
||||
<action name="Execute"><command>amixer sset Master 5%-</command></action>
|
||||
</keybind>
|
||||
<keybind key="XF86_AudioRaiseVolume">
|
||||
<action name="Execute"><command>amixer sset Master 5%+</command></action>
|
||||
</keybind>
|
||||
<keybind key="XF86_AudioMute">
|
||||
<action name="Execute"><command>amixer sset Master toggle</command></action>
|
||||
</keybind>
|
||||
<keybind key="XF86_MonBrightnessUp">
|
||||
<action name="Execute"><command>brightnessctl set +10%</command></action>
|
||||
</keybind>
|
||||
<keybind key="XF86_MonBrightnessDown">
|
||||
<action name="Execute"><command>brightnessctl set 10%-</command></action>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
|
||||
<mouse>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue