Last active
November 2, 2015 15:19
-
-
Save ShadOoW/74f2878739d0724eb32f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Multimedia Keys | |
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer sset Master unmute") awful.util.spawn("amixer set Master 9%+") end), | |
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer sset Master unmute") awful.util.spawn("amixer set Master 9%-") end), | |
awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer sset Master toggle") end), | |
awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("mocp --toggle-pause") end), | |
awful.key({ }, "XF86AudioStop", function () awful.util.spawn("mocp --toggle-pause") end), | |
awful.key({ }, "XF86AudioPrev", function () awful.util.spawn("mocp --previous") end), | |
awful.key({ }, "XF86AudioNext", function () awful.util.spawn("mocp --next") end), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment