ponymix prints the volume to stdout which really isn't necessary. And I
actually need pulsemixer installed anyway. Whereas ponymix was only for
changing the volume here.
-- ranger
awful.key({ modkey }, "r", function () awful.spawn(terminal .. " -e ranger") end),
-- Volume
-- 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"}),
{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"}),
{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"}),
{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"}),
{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"}),
{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),
{description = "increase volume", group = "volume"}),
-- Lock
awful.key({ modkey, "Control" }, "Escape", function () awful.spawn("i3lock -c 000000") end),