From 0ecfdf3e0e9cd6356bf9e04ca0853c04cc90acba Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 6 Dec 2018 06:00:42 +0100 Subject: Alsa to pulse --- rc.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rc.lua b/rc.lua index 16ee800..c973e2b 100644 --- a/rc.lua +++ b/rc.lua @@ -544,17 +544,17 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio -- Raccourcis perso awful.key({ }, "XF86AudioRaiseVolume", function () - awful.util.spawn("amixer set Master 9%+") end), + awful.util.spawn("pamixer -i 8") end), awful.key({ }, "XF86AudioLowerVolume", function () - awful.util.spawn("amixer set Master 9%-") end), + awful.util.spawn("pamixer -d 8") end), awful.key({ }, "XF86AudioMute", function () - awful.util.spawn("amixer -D pulse sset Master toggle") end), + awful.util.spawn("pamixer -t") end), awful.key({ }, "F12", function () - awful.util.spawn("amixer -D pulse set Master 9%+") end), + awful.util.spawn("pamixer -i 8") end), awful.key({ }, "F10", function () - awful.util.spawn("amixer -D pulse set Master 9%-") end), + awful.util.spawn("pamixer -d 8") end), awful.key({ }, "F11", function () - awful.util.spawn("amixer -D pulse sset Master toggle") end), + awful.util.spawn("pamixer -t") end), awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("mpc toggle") end), @@ -571,7 +571,7 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio awful.key({ modkey}, "F1", function () - awful.util.spawn("roxterm -e bash -c \"mpd;mpc random on;mpc repeat on;ncmpcpp\"") end, + awful.util.spawn("roxterm -e bash -c \"systemctl --user start mpd;mpc random on;mpc repeat on;ncmpcpp\"") end, {description = "MPD", group = "awesome"}), awful.key({ modkey}, "F2", function () awful.util.spawn("roxterm -e fish -c mutt") end, -- cgit v1.2.3