mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
config: migrate from amixer to pactl
This commit is contained in:
parent
7be58fbaba
commit
7b63ab0165
4 changed files with 10 additions and 10 deletions
|
|
@ -217,9 +217,9 @@ If you have not created an rc.xml config file, default bindings will be:
|
|||
| `super`-`mouse-right` | resize window
|
||||
| `super`-`arrow` | resize window to fill half the output
|
||||
| `alt`-`space` | show the window menu
|
||||
| `XF86_AudioLowerVolume` | amixer sset Master 5%-
|
||||
| `XF86_AudioRaiseVolume` | amixer sset Master 5%+
|
||||
| `XF86_AudioMute` | amixer sset Master toggle
|
||||
| `XF86_AudioLowerVolume` | pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
| `XF86_AudioRaiseVolume` | pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
| `XF86_AudioMute` | pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
| `XF86_MonBrightnessUp` | brightnessctl set +10%
|
||||
| `XF86_MonBrightnessDown` | brightnessctl set 10%-
|
||||
|
||||
|
|
|
|||
|
|
@ -845,7 +845,7 @@ References:
|
|||
A-Space - show window menu
|
||||
```
|
||||
|
||||
Audio and MonBrightness keys are also bound to amixer and
|
||||
Audio and MonBrightness keys are also bound to pactl and
|
||||
brightnessctl, respectively.
|
||||
|
||||
*<keyboard><repeatRate>*
|
||||
|
|
|
|||
|
|
@ -292,13 +292,13 @@
|
|||
<action name="ShowMenu" menu="client-menu" atCursor="no" />
|
||||
</keybind>
|
||||
<keybind key="XF86_AudioLowerVolume">
|
||||
<action name="Execute" command="amixer sset Master 5%-" />
|
||||
<action name="Execute" command="pactl set-sink-volume @DEFAULT_SINK@ -5%" />
|
||||
</keybind>
|
||||
<keybind key="XF86_AudioRaiseVolume">
|
||||
<action name="Execute" command="amixer sset Master 5%+" />
|
||||
<action name="Execute" command="pactl set-sink-volume @DEFAULT_SINK@ +5%" />
|
||||
</keybind>
|
||||
<keybind key="XF86_AudioMute">
|
||||
<action name="Execute" command="amixer sset Master toggle" />
|
||||
<action name="Execute" command="pactl set-sink-mute @DEFAULT_SINK@ toggle" />
|
||||
</keybind>
|
||||
<keybind key="XF86_MonBrightnessUp">
|
||||
<action name="Execute" command="brightnessctl set +10%" />
|
||||
|
|
|
|||
|
|
@ -88,21 +88,21 @@ static struct key_combos {
|
|||
.action = "Execute",
|
||||
.attributes[0] = {
|
||||
.name = "command",
|
||||
.value = "amixer sset Master 5%-",
|
||||
.value = "pactl set-sink-volume @DEFAULT_SINK@ -5%",
|
||||
},
|
||||
}, {
|
||||
.binding = "XF86_AudioRaiseVolume",
|
||||
.action = "Execute",
|
||||
.attributes[0] = {
|
||||
.name = "command",
|
||||
.value = "amixer sset Master 5%+",
|
||||
.value = "pactl set-sink-volume @DEFAULT_SINK@ +5%",
|
||||
},
|
||||
}, {
|
||||
.binding = "XF86_AudioMute",
|
||||
.action = "Execute",
|
||||
.attributes[0] = {
|
||||
.name = "command",
|
||||
.value = "amixer sset Master toggle",
|
||||
.value = "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
},
|
||||
}, {
|
||||
.binding = "XF86_MonBrightnessUp",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue