summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-03-08 05:30:33 +0100
committerache <ache@ache.one>2019-03-08 05:30:33 +0100
commit4f0a24316ded1d3cdf32e768579568a080dde325 (patch)
tree54be89d83fe7033b79e31a3b95aaf6e8bf00c384
parentSwitch loocker (diff)
Audio pulse
-rw-r--r--rc.lua12
1 files 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),