Skip to content

Instantly share code, notes, and snippets.

@aajjbb
Created January 22, 2015 16:50
Show Gist options
  • Save aajjbb/52ccbfa1e53700944aea to your computer and use it in GitHub Desktop.
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
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