Created
January 22, 2015 16:50
-
-
Save aajjbb/52ccbfa1e53700944aea to your computer and use it in GitHub Desktop.
this is how to use your mouse/touchpad to control volume in awesome-wm
This file contains hidden or 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
volumewidget:buttons(awful.util.table.join( | |
awful.button({ }, 4, function () awful.util.spawn("amixer set Master 2%+") end), | |
awful.button({ }, 5, function () awful.util.spawn("amixer set Master 2%-") end) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment