diff options
-rw-r--r-- | rc.lua | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -528,13 +528,28 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 9%-") end), awful.key({ }, "XF86AudioMute", function () - awful.util.spawn("amixer sset Master toggle") end), + awful.util.spawn("amixer -D pulse sset Master toggle") end), + awful.key({ }, "F12", function () + awful.util.spawn("amixer -D pulse set Master 9%+") end), + awful.key({ }, "F10", function () + awful.util.spawn("amixer -D pulse set Master 9%-") end), + awful.key({ }, "F11", function () + awful.util.spawn("amixer -D pulse sset Master toggle") end), + awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("mpc toggle") end), awful.key({ }, "XF86AudioNext", function () awful.util.spawn("mpc next") end), awful.key({ }, "XF86AudioPrev", function () awful.util.spawn("mpc prev") end), + awful.key({ "Control" }, "F11", function () + awful.util.spawn("mpc toggle") end), + awful.key({ "Control" }, "F12", function () + awful.util.spawn("mpc next") end), + awful.key({ "Control" }, "F10", function () + awful.util.spawn("mpc prev") end), + + awful.key({ modkey}, "F1", function () awful.util.spawn("roxterm -e bash -c \"mpd;mpc random on;mpc repeat on;ncmpcpp\"") end, {description = "MPD", group = "awesome"}), |