diff options
author | ache <ache@ache.one> | 2018-12-06 06:00:42 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2018-12-06 06:00:42 +0100 |
commit | 0ecfdf3e0e9cd6356bf9e04ca0853c04cc90acba (patch) | |
tree | 2d93855c5ed12c124f0e0458025a9d0d09dc936a | |
parent | Security feature (diff) |
Alsa to pulse
-rw-r--r-- | rc.lua | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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, |