diff --git a/README.md b/README.md index ec00083d..9cc81e88 100644 --- a/README.md +++ b/README.md @@ -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 -| `XF86AudioLowerVolume` | amixer sset Master 5%- -| `XF86AudioRaiseVolume` | amixer sset Master 5%+ -| `XF86AudioMute` | amixer sset Master toggle +| `XF86AudioLowerVolume` | pactl set-sink-volume @DEFAULT_SINK@ -5% +| `XF86AudioRaiseVolume` | pactl set-sink-volume @DEFAULT_SINK@ +5% +| `XF86AudioMute` | pactl set-sink-mute @DEFAULT_SINK@ toggle | `XF86MonBrightnessUp` | brightnessctl set +10% | `XF86MonBrightnessDown` | brightnessctl set 10%- diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 09f7b3eb..9abc89ba 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -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. ** diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 6d543b46..9ddd69a8 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -292,13 +292,13 @@ - + - + - + diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h index f2042c28..a49f60f4 100644 --- a/include/config/default-bindings.h +++ b/include/config/default-bindings.h @@ -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 = "XF86AudioRaiseVolume", .action = "Execute", .attributes[0] = { .name = "command", - .value = "amixer sset Master 5%+", + .value = "pactl set-sink-volume @DEFAULT_SINK@ +5%", }, }, { .binding = "XF86AudioMute", .action = "Execute", .attributes[0] = { .name = "command", - .value = "amixer sset Master toggle", + .value = "pactl set-sink-mute @DEFAULT_SINK@ toggle", }, }, { .binding = "XF86MonBrightnessUp",