From 4f0a24316ded1d3cdf32e768579568a080dde325 Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 8 Mar 2019 05:30:33 +0100 Subject: Audio pulse --- rc.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rc.lua b/rc.lua index d838405..ffd391a 100644 --- a/rc.lua +++ b/rc.lua @@ -534,17 +534,17 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio -- Raccourcis perso awful.key({ }, "XF86AudioRaiseVolume", function () - awful.util.spawn("pamixer -i 8") end), + awful.util.spawn("amixer -D pulse sset Master 8%+") end), awful.key({ }, "XF86AudioLowerVolume", function () - awful.util.spawn("pamixer -d 8") end), + awful.util.spawn("amixer -D pulse sset Master 8%-") end), awful.key({ }, "XF86AudioMute", function () - awful.util.spawn("pamixer -t") end), + awful.util.spawn("amixer -D pulse sset Master toggle") end), awful.key({ }, "F12", function () - awful.util.spawn("pamixer -i 8") end), + awful.util.spawn("amixer -D pulse sset Master 8%+") end), awful.key({ }, "F10", function () - awful.util.spawn("pamixer -d 8") end), + awful.util.spawn("amixer -D pulse sset Master 8%-") end), awful.key({ }, "F11", function () - awful.util.spawn("pamixer -t") end), + awful.util.spawn("amixer -D pulse sset Master toggle") end), awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("mpc toggle") end), -- cgit v1.2.3