]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/bindings.lua
awesome: use pulsemixer instead of ponymix
[dotfiles.git] / awesome / bindings.lua
index 123710dee228028bdff1214b802873bc1179447c..96b31eac003820a51442dd02e55c0ce21e1bd402 100644 (file)
@@ -126,17 +126,17 @@ globalkeys = awful.util.table.join(globalkeys,
     -- ranger
     awful.key({ modkey }, "r", function () awful.spawn(terminal .. " -e ranger") end),
     -- Volume
-    awful.key({        }, "XF86AudioMute",        function () awful.spawn("ponymix toggle")     end,
+    awful.key({        }, "XF86AudioMute",        function () awful.spawn("pulsemixer --toggle-mute")     end,
               {description = "toggle mute", group = "volume"}),
-    awful.key({        }, "XF86AudioLowerVolume", function () awful.spawn("ponymix decrease 5") end,
+    awful.key({        }, "XF86AudioLowerVolume", function () awful.spawn("pulsemixer --change-volume -5") end,
               {description = "decrease volume", group = "volume"}),
-    awful.key({        }, "XF86AudioRaiseVolume", function () awful.spawn("ponymix increase 5") end,
+    awful.key({        }, "XF86AudioRaiseVolume", function () awful.spawn("pulsemixer --change-volume +5") end,
               {description = "increase volume", group = "volume"}),
-    awful.key({ modkey }, "F10",                  function () awful.spawn("ponymix toggle")     end,
+    awful.key({ modkey }, "F10",                  function () awful.spawn("pulsemixer --toggle-mute")     end,
               {description = "toggle mute", group = "volume"}),
-    awful.key({ modkey }, "F11",                  function () awful.spawn("ponymix decrease 5") end,
+    awful.key({ modkey }, "F11",                  function () awful.spawn("pulsemixer --change-volume -5") end,
               {description = "decrease volume", group = "volume"}),
-    awful.key({ modkey }, "F12",                  function () awful.spawn("ponymix increase 5") end,
+    awful.key({ modkey }, "F12",                  function () awful.spawn("pulsemixer --change-volume +5") end,
               {description = "increase volume", group = "volume"}),
     -- Lock
     awful.key({ modkey, "Control" }, "Escape", function () awful.spawn("i3lock -c 000000") end),